Skip to content

Convert to posix_spawn - #17

Open
Samasaur1 wants to merge 2 commits into
masterfrom
convert-to-posix-spawn
Open

Convert to posix_spawn#17
Samasaur1 wants to merge 2 commits into
masterfrom
convert-to-posix-spawn

Conversation

@Samasaur1

Copy link
Copy Markdown
Owner

This allows us to properly call programs, especially ones that rely on standard input. It closes #5, closes #10, and closes #15.

However, it does not correctly reset the terminal mode when executing programs, which means that standard input is not echoed to the screen. I'm not sure why this is, since I'm pretty sure I'm doing it right, but whatever.

Programs such as neovim, that handle input and output in nonstandard ways, do work correctly.

For some reason, this does not correctly turn on ECHO
  although for programs that set the term on their own
  (e.g., neovim), they run fine anyway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REPL does not work for tools that expect to read from standard input Migrate from Process (using bash -c) to posix_spawn Color replication

1 participant