Skip to content
Snippets Groups Projects
Unverified Commit cb57c371 authored by Matthew Pickering's avatar Matthew Pickering Committed by GitHub
Browse files

external commands: Wait for process to finish before exiting (#10100)

Issue #10063 points out that cabal exits before the external command
has finished executing. This was a simple oversight to not
waitForProcess on the result of calling createProcess.

This also points out the flaw that there isn't a way for external
commands to signal failure, so we now also propagate the exit code from
the external process.

Fixes #10063
parent 236b5135
No related branches found
No related tags found
No related merge requests found
Pipeline #96744 passed
Showing with 133 additions and 3 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment