Skip to content

Conversation

@bgamari
Copy link
Contributor

@bgamari bgamari commented Mar 26, 2024

Previously the fork/exec backend would attempt to close stdin, et al. on process spawn failure. This result in spurious close failures due to runInteractiveProcess doing the same. Consequently, the cause of the failure would be confusingly mis-identified.

Fixes #306.

Previously the fork/exec backend would attempt to close
stdin, et al. on process spawn failure. This result in spurious `close`
failures due to `runInteractiveProcess` doing the same. Consequently,
the cause of the failure would be confusingly mis-identified.

Fixes haskell#306.
@snoyberg snoyberg merged commit a6b7cc6 into haskell:master Mar 31, 2024
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 this pull request may close these issues.

do_spawn_fork double-closes the parent STDIO pipe FDs

3 participants