mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 05:12:40 +03:00
9cd72fefe2
`wezterm start -- /etc/profile` would crash on macOS because `/etc/profile` isn't executable. This commit checks for executable access as a prereq for both the path search and the absolute path cases and generates a non-crashing error: ``` $ wezterm start -- /etc/profile 17:24:03.574 ERROR wezterm_gui > Unable to spawn /etc/profile because it doesn't exist on the filesystem or is not executable (EACCES: Permission denied); terminating ``` |
||
---|---|---|
.. | ||
examples | ||
src | ||
Cargo.toml |