Skip to content
Snippets Groups Projects
Unverified Commit 4889c6b4 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

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


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

(cherry picked from commit cb57c371)

Co-authored-by: default avatarMatthew Pickering <matthewtpickering@gmail.com>
parent 70d837f7
No related branches found
No related tags found
No related merge requests found
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