generated from datalad/datalad-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
warn if an exception leaves the run-context
This commit adds a warning that describes the possibility of a stall, if an exception leaves the run-context. The reason for the possible stall is that it is not clear whether the code in the run-context did trigger a subprocess exit. If it did not, and if no timeouts are set, the exit handler of the run-context might wait indefinitely for the subprocess to exit. If the code ensures that all exceptions are caught, e.g. by using a try-finally clause, and the subprocess exit is triggered in case of an exception, the stalling can be prevented.
- Loading branch information
1 parent
7443c8a
commit 2b4c891
Showing
2 changed files
with
33 additions
and
0 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