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

Properly capture the stdout and stderr of fsl_sub #107

Open
prioux opened this issue May 8, 2017 · 0 comments
Open

Properly capture the stdout and stderr of fsl_sub #107

prioux opened this issue May 8, 2017 · 0 comments
Assignees
Labels

Comments

@prioux
Copy link
Member

prioux commented May 8, 2017

When fsl_sub handles a single task, it internally redirects the outputs with this code:

            /bin/sh <<EOF1 > ${LogDir}${JobName}.o$$ 2> ${LogDir}${JobName}.e$$
$@
EOF1

In the case where this is executing under CBRAIN, this will pollute the work directory with a lot of files named bash.oNNN and bash.eNNN instead of storing these in the CBRAIN capture files. The way to fix this is to remove the redirections altogether, if we're running in CBRAIN. (But: how to test that? Env variable?)

@prioux prioux added the bug label May 8, 2017
@prioux prioux self-assigned this May 8, 2017
@prioux prioux changed the title properly capture the stdout and stderr of fsl_sub Properly capture the stdout and stderr of fsl_sub May 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant