-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runModelCommand: write output file even on failure
The new runModelCommand was extracted from executeLocalJob and executeSGEJob and behaves as they did in terms of handling the output. The output is collected with CombinedOutput. If there's an error, the output is logged before returning a ConcurrentError. The output is written to _disk_ only if there was not an error. Capturing the output on disk is helpful for troubleshooting. Rework runModelCommand to send standard output and standard error directly to a file.
- Loading branch information
Showing
2 changed files
with
49 additions
and
17 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