()
Drops the user back into their shell environment.
        'exit' brings them back.
Drops the user back into their shell environment.
        'exit' brings them back.
Drops the user back into their shell environment . exit brings them back .
def background():
    """ Drops the user back into their shell environment.
        'exit' brings them back.
    """

    usr = get_run_usr()
    if usr is None:
        return

    Msg('\'exit\' when you\'re done..')
    shell = os.environ['SHELL'] if 'SHELL' in os.environ else '/bin/bash'
    if check_program(shell):
        os.system('su -c %s %s' % (shell, usr))
    else:
        os.system('su -c /bin/sh %s' % usr)
def background ( ) : usr = get_run_usr ( ) if usr is None : return Msg ( '\'exit\' when you\'re done..' ) shell = os . environ [ 'SHELL' ] if 'SHELL' in os . environ else '/bin/bash' if check_program ( shell ) : os . system ( 'su -c %s %s' % ( shell , usr ) ) else : os . system ( 'su -c /bin/sh %s' % usr )