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

Return error code or process object from subprocess functions #3

Open
stevekm opened this issue Oct 12, 2017 · 0 comments
Open

Return error code or process object from subprocess functions #3

stevekm opened this issue Oct 12, 2017 · 0 comments
Assignees

Comments

@stevekm
Copy link
Member

stevekm commented Oct 12, 2017

Right now when Python subprocess is used to execute a shell command, nothing is typically returned.

Might be good to always return the error code, or the SubprocessCmd or process object completely. This would be good for error checking within the script to make sure the commands finished successfully

reference: https://github.com/NYU-Molecular-Pathology/util/blob/master/tools.py#L22

@stevekm stevekm self-assigned this Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant