Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Print stderr of launched processes into the application log #11

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

lassoan
Copy link
Contributor

@lassoan lassoan commented Jul 21, 2022

Example output in application log:

Filter Model-2: state: NotRunning
Filter Model-2: finished, exit code: 1, exit status: NormalExit
Filter Model-2: error output:
---
  File "C:\Users\andra\AppData\Local\NA-MIC\Slicer 5.0.3\NA-MIC\Extensions-30893\ParallelProcessing\lib\Slicer-5.0\qt-scripted-modules\Resources\ProcessScripts\modelFilter.slicer.py", line 16
    some error
         ^
SyntaxError: invalid syntax
---

Example output in application log:

```
Filter Model-2: state: NotRunning
Filter Model-2: finished, exit code: 1, exit status: NormalExit
Filter Model-2: error output:
---
  File "C:\Users\andra\AppData\Local\NA-MIC\Slicer 5.0.3\NA-MIC\Extensions-30893\ParallelProcessing\lib\Slicer-5.0\qt-scripted-modules\Resources\ProcessScripts\modelFilter.slicer.py", line 16
    some error
         ^
SyntaxError: invalid syntax
---
```
Copy link
Owner

@pieper pieper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! 🙏

@pieper pieper merged commit 16c8a3f into pieper:master Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants