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

Make sure errors from subprocesses are properly logged for debugging #94

Open
luiskuhn opened this issue Sep 28, 2021 · 0 comments
Open

Comments

@luiskuhn
Copy link
Contributor

luiskuhn commented Sep 28, 2021

Perhaps try something like this:
process = Popen( "/bin/bash", shell=False, universal_newlines=True, stdin=PIPE, stdout=PIPE, stderr=PIPE )
out, err = process.communicate( commands )
if err and len(err) > 0:
- raise Exception(err)

or test

if not ds_id or ds_id == '' and err and len(err) > 0

conda_home_path = "/home/qeana10/miniconda2/"

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

No branches or pull requests

1 participant