Advertisement
otubo

Untitled

Oct 8th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.15 KB | None | 0 0
  1.     except OSError as e:                                                                                                                                                                                                                      
  2.         if status_cb:                                                                                                                                                                                                                          
  3.             status_cb('ERROR: End run command: invalid command provided\n')                                                                                                                                                                    
  4.         raise ProcessExecutionError(                                                                                                                                                                                                          
  5.             cmd=args, reason=e, errno=e.errno,                                                                                                                                                                                                
  6.             stdout="-" if decode else b"-",                                                                                                                                                                                                    
  7.             stderr="-" if decode else b"-")                                                                                                                                                                                                    
  8.     finally:                                                                                                                                                                                                                                  
  9.         if devnull_fp:                                                                                                                                                                                                                        
  10.             devnull_fp.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement