def get_run_usr():
 if ('SUDO_USER' in os.environ):
  usr = os.environ['SUDO_USER']
 else:
  usr = init_app("who -m | awk '{print $1;}'")
 try:
  getpwnam(usr)
 except:
  usr = None
 return usr

def get_run_usr ( ) : if ( 'SUDO_USER' in os . environ ) : usr = os . environ [ 'SUDO_USER' ] else : usr = init_app ( "who -m | awk '{print $1;}'" ) try : getpwnam ( usr ) except : usr = None return usr
fetch the user that launched zarp .