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.