8000 Make sure errors from subprocesses are properly logged for debugging · Issue #94 · qbicsoftware/etl-scripts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Make sure errors from subprocesses are properly logged for debugging #94
Open
@luiskuhn

Description

@luiskuhn

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/"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0