sphuber / aiida-shell

AiiDA plugin that makes running shell commands easy.
MIT License
14 stars 7 forks source link

`ShellJob`: Add the optional `redirect_stderr` input #41

Closed sphuber closed 1 year ago

sphuber commented 1 year ago

This metadata input, if set to True, will set CodeInfo.join_files to True instead of defining CodeInfo.stderr_name. This will cause the submission script to look like:

date > stdout 2>&1

instead of the default:

date > stdout 2> stderr

meaning that content written to the stderr file descriptor will be redirected to the stdout file.