As far as I know you can just call os.system() again with your shell-command.
I am running a command os.system("unit run" + directoryPath + " urun shell"), which opens the shell prompt of the unit. How should I run commands on the shell prompt that is a whole new prompt getting open up with Python?
I tried executing the command os.system("unit run" + directoryPath + " urun shell /c command"), but that didn't worked as I was expecting that the command should have ran on the shell prompt.
I am executing os.system ("unit run"+ directoryPath+" urun shell"), which opens the shell prompt of the unit, how to run commands on the shell promt?