Files
LLeMbas-TTY/docs
Wez Furlong 17dadbeb1e pty: don't try to spawn a directory from the cwd
When the cwd was set to a directory that contained
an executable directory whose name matched the argv0
of the command to be spawned, we'd incorrectly consider
that to be a valid candidate.

When later trying to spawn this, we'll fail with an EACCESS,
and in the context of wezterm, rust's internal error handling
machinery for this error would fail to write to a descriptor
because our close_random_fds() function has closed that descriptor
during pre_exec.  That in turn would cause rust to print a panic
message to the output stream of this semi-spawned process,
which would show briefly an error message with no useful context.

This commit resolves this issue by explicitly avoiding executable
directories in this case.

refs: https://github.com/wez/wezterm/issues/4920
2024-02-01 17:18:42 -07:00
..
2024-01-27 12:50:49 -07:00
2024-01-31 08:00:18 -07:00
2024-01-28 14:39:39 -07:00
2024-01-21 14:01:55 -07:00
2023-04-17 07:04:00 -07:00
2023-02-25 18:19:47 -07:00
2023-07-10 22:54:06 -07:00
2023-03-29 11:32:26 -07:00
2023-03-29 12:00:13 -07:00
2023-02-25 18:19:47 -07:00
2023-11-04 07:51:27 -07:00
2023-03-15 20:54:02 -07:00
2023-04-02 23:14:42 -07:00
2023-05-26 13:30:07 -07:00
2024-01-25 13:09:36 -07:00
2023-04-08 07:48:40 -07:00

This directory contains the sources for the documentation. Read the generated documentation at: https://wezfurlong.org/wezterm