def do_process(*args):
 print 'Running: {}'.format(' '.join(args))
 try:
  check_call(args)
 except CalledProcessError:
  print '\nFailed: {}'.format(' '.join(args))
  return False
 except Exception as exc:
  sys.stderr.write((str(exc) + '\n'))
  sys.exit(1)
 return True

def do_process ( * args ) : print 'Running: {}' . format ( ' ' . join ( args ) ) try : check_call ( args ) except CalledProcessError : print '\nFailed: {}' . format ( ' ' . join ( args ) ) return False except Exception as exc : sys . stderr . write ( ( str ( exc ) + '\n' ) ) sys . exit ( 1 ) return True
run program provided by args .