-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nuanced Handling of Stuck Subprocesses (#18)
Process exit order is nondeterministic, so sometimes tar appears to exit before pydiode, even when both processes complete normally. If a process later in the pipeline exits before an earlier process, request termination for the pipeline. An error will only be displayed if the earlier process required termination (i.e., if it didn't exit normally after 250ms). We can differentiate between user-initiated and system-initiated termination, because the signal sent to the process affects its exit code. Errors are only displayed for system-initiated termination. Also, display tarfile.ReadError more clearly: no need for a complete stack trace: just display the error. Fixes #17
- Loading branch information
1 parent
dae221e
commit 63a54d3
Showing
2 changed files
with
36 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters