diff options
author | Christian Duerr <contact@christianduerr.com> | 2019-10-15 22:53:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-15 22:53:25 +0200 |
commit | 1538f09e0ce1457a0d06f8e8094c7173fe801fdf (patch) | |
tree | 87d123786af9a35374afe8ada797134ea5fab5b3 | |
parent | 49380bffd24203f139dc32c7bdc9958e64d9dd4d (diff) | |
download | alacritty-1538f09e0ce1457a0d06f8e8094c7173fe801fdf.tar.gz alacritty-1538f09e0ce1457a0d06f8e8094c7173fe801fdf.zip |
Print launch command name on failure
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | alacritty_terminal/src/tty/unix.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index efdd7bbc..40392f43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - New CLI flag `--hold` for keeping Alacritty opened after its child process exits - Escape sequence to save and restore window title from stack - Alternate scroll escape sequence (`CSI ? 1007 h` / `CSI ? 1007 l`) +- Print name of launch command if Alacritty failed to execute it ### Changed diff --git a/alacritty_terminal/src/tty/unix.rs b/alacritty_terminal/src/tty/unix.rs index a2a277a6..b820d754 100644 --- a/alacritty_terminal/src/tty/unix.rs +++ b/alacritty_terminal/src/tty/unix.rs @@ -236,7 +236,7 @@ pub fn new<C>(config: &Config<C>, size: &SizeInfo, window_id: Option<usize>) -> pty.fd.as_raw_fd().on_resize(size); pty }, - Err(err) => die!("Failed to spawn command: {}", err), + Err(err) => die!("Failed to spawn command '{}': {}", shell.program, err), } } |