def script_retcode(source, args=None, cwd=None, stdin=None, runas=None, shell=DEFAULT_SHELL, python_shell=None, env=None, template='jinja', umask=None, timeout=None, reset_system_locale=True, saltenv='base', output_loglevel='debug', log_callback=None, use_vt=False, password=None, **kwargs):
 if ('__env__' in kwargs):
  salt.utils.warn_until('Oxygen', "Parameter '__env__' has been detected in the argument list.  This parameter is no longer used and has been replaced by 'saltenv' as of Salt 2016.11.0.  This warning will be removed in Salt Oxygen.")
  kwargs.pop('__env__')
 return script(source=source, args=args, cwd=cwd, stdin=stdin, runas=runas, shell=shell, python_shell=python_shell, env=env, template=template, umask=umask, timeout=timeout, reset_system_locale=reset_system_locale, saltenv=saltenv, output_loglevel=output_loglevel, log_callback=log_callback, use_vt=use_vt, password=password, **kwargs)['retcode']

def script_retcode ( source , args = None , cwd = None , stdin = None , runas = None , shell = DEFAULT_SHELL , python_shell = None , env = None , template = 'jinja' , umask = None , timeout = None , reset_system_locale = True , saltenv = 'base' , output_loglevel = 'debug' , log_callback = None , use_vt = False , password = None , ** kwargs ) : if ( '__env__' in kwargs ) : salt . utils . warn_until ( 'Oxygen' , "Parameter '__env__' has been detected in the argument list.  This parameter is no longer used and has been replaced by 'saltenv' as of Salt 2016.11.0.  This warning will be removed in Salt Oxygen." ) kwargs . pop ( '__env__' ) return script ( source = source , args = args , cwd = cwd , stdin = stdin , runas = runas , shell = shell , python_shell = python_shell , env = env , template = template , umask = umask , timeout = timeout , reset_system_locale = reset_system_locale , saltenv = saltenv , output_loglevel = output_loglevel , log_callback = log_callback , use_vt = use_vt , password = password , ** kwargs ) [ 'retcode' ]
run :py:func:cmd .