def run_bg(cmd, cwd=None, runas=None, shell=DEFAULT_SHELL, python_shell=None, env=None, clean_env=False, template=None, umask=None, timeout=None, output_loglevel='debug', log_callback=None, reset_system_locale=True, ignore_retcode=False, saltenv='base', password=None, **kwargs):
 python_shell = _python_shell_default(python_shell, kwargs.get('__pub_jid', ''))
 res = _run(cmd, stdin=None, stderr=None, stdout=None, output_loglevel=output_loglevel, use_vt=None, bg=True, with_communicate=False, rstrip=False, runas=runas, shell=shell, python_shell=python_shell, cwd=cwd, env=env, clean_env=clean_env, template=template, umask=umask, log_callback=log_callback, timeout=timeout, reset_system_locale=reset_system_locale, ignore_retcode=ignore_retcode, saltenv=saltenv, password=password, **kwargs)
 return {'pid': res['pid']}

def run_bg ( cmd , cwd = None , runas = None , shell = DEFAULT_SHELL , python_shell = None , env = None , clean_env = False , template = None , umask = None , timeout = None , output_loglevel = 'debug' , log_callback = None , reset_system_locale = True , ignore_retcode = False , saltenv = 'base' , password = None , ** kwargs ) : python_shell = _python_shell_default ( python_shell , kwargs . get ( '__pub_jid' , '' ) ) res = _run ( cmd , stdin = None , stderr = None , stdout = None , output_loglevel = output_loglevel , use_vt = None , bg = True , with_communicate = False , rstrip = False , runas = runas , shell = shell , python_shell = python_shell , cwd = cwd , env = env , clean_env = clean_env , template = template , umask = umask , log_callback = log_callback , timeout = timeout , reset_system_locale = reset_system_locale , ignore_retcode = ignore_retcode , saltenv = saltenv , password = password , ** kwargs ) return { 'pid' : res [ 'pid' ] }
function deprecated .