-
Notifications
You must be signed in to change notification settings - Fork 79
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
Question/Bug: how does one get the stderr output? #331
Comments
I am also having this problem trying to capture the output of my jobber script, which at this point is just an
Below is an attempt to separate out the
The documentation seems to suggest that I don't need to use a separate resultSinks section, but the below fails with a similar error:
Am I getting the syntax wrong? |
I am trying to capture both
stderr
andstdout
of my job, to output tostdout
.(I am yet another Docker user ; )
I could not find instructions in the current doc, but have been following this comment: #182 (comment)
Now my jobber file is as follows
jobbercommand.sh simply run a python3 scripts which outputs two different lines, one to
stdout
, one tostderr
.In the current terminal output, I can only see the output the script made to
stdout
.(This got me thinking for hours that jobber was not working, since my initial script only wrote to
stderr
: all I saw was a "blank" output from jobber, thinking the script never run and not having any message to help me debug appart from the return code).Is it not the way to write a jobber file which captures both
stderr
andstdout
and redirect the result to current terminalstdout
?Thank you for reading!
Edit: for completeness, the Python script
The text was updated successfully, but these errors were encountered: