Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipe handling of Process::launch seems to be wrong #344

Open
MalteSchledjewski opened this issue Jul 15, 2022 · 0 comments · May be fixed by #456
Open

pipe handling of Process::launch seems to be wrong #344

MalteSchledjewski opened this issue Jul 15, 2022 · 0 comments · May be fixed by #456

Comments

@MalteSchledjewski
Copy link

I try to run a tool that uses TSCBasic.Process.checkNonZeroExit(arguments: arguments) in two threads. The called executable is the same but the arguments differ.

The second call errors with error: close error: Unknown error -1.
This comes from try close(fd: stdinPipe[0]) in Process::launch.

@Bo98 Bo98 linked a pull request Dec 24, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant