def exec_command_rc(*cmdargs, **kwargs):
 if ('encoding' in kwargs):
  kwargs.pop('encoding')
 return subprocess.call(cmdargs, **kwargs)

def exec_command_rc ( * cmdargs , ** kwargs ) : if ( 'encoding' in kwargs ) : kwargs . pop ( 'encoding' ) return subprocess . call ( cmdargs , ** kwargs )
return the exit code of the command specified by the passed positional arguments .