def x10_command(command):
 return check_output((['heyu'] + command.split(' ')), stderr=STDOUT)

def x10_command ( command ) : return check_output ( ( [ 'heyu' ] + command . split ( ' ' ) ) , stderr = STDOUT )
execute x10 command and check output .