Darwin violates POSIX by making `dup2(x,x)`, which should be a no-op, error. Consequently, we must take care not to `dup2` in such cases. We had already made this change in the `posix_spawnp` codepath but I had assumed that this *only* affected `posix_spawnp`, not the `dup2` system call itself.
Closed
Merged
2 tasks
Closed
Closed
mpilgrem pushed a commit to commercialhaskell/stack that referenced this pull request
Aug 13, 2022Bump to nightly-2022-07-30 Remove redundant import in Stack.Package Bump to nightly-2022-08-02 (GHC 9.2.4) Fix 4101-dependency-tree test Maybe fix the ghc-install-hooks test process-1.6.15.0 now available Includes fix haskell/process#250