Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- except OSError as e:
- if status_cb:
- status_cb('ERROR: End run command: invalid command provided\n')
- raise ProcessExecutionError(
- cmd=args, reason=e, errno=e.errno,
- stdout="-" if decode else b"-",
- stderr="-" if decode else b"-")
- finally:
- if devnull_fp:
- devnull_fp.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement