haskell / process

Library for dealing with system processes
http://hackage.haskell.org/package/process
Other
87 stars 82 forks source link

fork-exec: Don't double-close parent fds #307

Closed bgamari closed 8 months ago

bgamari commented 8 months ago

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.