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
2023-10-02 16:35:42 -07:00
2024-02-01 08:53:49 -07:00
2024-01-28 07:59:20 -07:00
2019-06-08 21:28:11 -07:00
2024-01-27 12:18:17 -07:00
2022-05-21 21:09:11 -07:00
2024-02-01 08:53:49 -07:00
2023-04-18 08:34:39 -07:00
2024-01-31 07:55:10 -07:00
2023-11-22 17:41:38 -07:00
2024-01-20 16:01:10 -07:00
2022-10-04 08:55:31 -07:00
2023-03-23 21:43:28 -07:00
2024-02-01 15:58:14 -07:00
2024-01-31 07:55:10 -07:00
2023-03-19 13:12:20 -07:00
2024-01-20 16:01:10 -07:00
2024-01-10 16:05:52 -07:00
2024-01-21 08:32:31 -07:00
2021-02-03 21:56:30 -08:00
2022-12-07 12:09:06 -08:00
2024-01-29 19:54:13 -07:00
2024-01-23 17:12:16 -07:00
2023-09-21 17:52:26 -07:00
2022-01-16 16:04:35 -07:00
2023-08-17 08:59:53 -07:00
2023-04-02 23:37:54 -07:00

Wez's Terminal

WezTerm Icon A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

User facing docs and guide at: https://wezfurlong.org/wezterm/

Screenshot

Screenshot of wezterm on macOS, running vim

Installation

https://wezfurlong.org/wezterm/installation

Getting help

This is a spare time project, so please bear with me. There are a couple of channels for support:

  • You can use the GitHub issue tracker to see if someone else has a similar issue, or to file a new one.
  • Start or join a thread in our GitHub Discussions; if you have general questions or want to chat with other wezterm users, you're welcome here!
  • There is a Matrix room via Element.io for (potentially!) real time discussions.

The GitHub Discussions and Element/Gitter rooms are better suited for questions than bug reports, but don't be afraid to use whichever you are most comfortable using and we'll work it out.

Supporting the Project

If you use and like WezTerm, please consider sponsoring it: your support helps to cover the fees required to maintain the project and to validate the time spent working on it!

Read more about sponsoring.

S
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
Readme MIT
316 MiB
0 Stars 2 Watchers 0 Forks
Languages
Rust 97.7%
Python 1%
Shell 0.9%
Nix 0.2%