parameters: (cmd, msg=None)
docstring: Submits a job to the shell. If the job fails, prints diagnostic message
       to stderr, then exits.
docstring_summary: Submits a job to the shell. If the job fails, prints diagnostic message
       to stderr, then exits.
docstring_tokens: Submits a job to the shell . If the job fails prints diagnostic message to stderr then exits .
function: def runme(cmd, msg=None) :
    '''Submits a job to the shell. If the job fails, prints diagnostic message
       to stderr, then exits.
    '''
    if msg :
      sys.stderr.write(msg + '\n')
    result = os.system(cmd)
    if result :
      sys.stderr.write('This cmd failed to execute: ' + cmd + '\n')
      exit(9)
function_tokens: def runme ( cmd , msg = None ) : if msg : sys . stderr . write ( msg + '\n' ) result = os . system ( cmd ) if result : sys . stderr . write ( 'This cmd failed to execute: ' + cmd + '\n' ) exit ( 9 )