def combine_cmds(*cmds):
 cmd = combine_values(*cmds)
 if (cmd is None):
  return None
 elif isinstance(cmd, string_types):
  return shlex_split(cmd)
 else:
  return list(cmd)

def combine_cmds ( * cmds ) : cmd = combine_values ( * cmds ) if ( cmd is None ) : return None elif isinstance ( cmd , string_types ) : return shlex_split ( cmd ) else : return list ( cmd )
take zero or more commands to run on the command line .