0

I would like to run a .exe file on external terminal. With this code I managed to run the .exe but it starts on the same terminal I call the script

import subprocess
subprocess.call(["C:/Users/Alessandro/Downloads/BOSCH-GLM/BOSCH-GLM/dist/glm50.exe"])

Is there a way to run it on external terminal?

1 Answers1

-1

Try using subprocess.Popen instead of subprocess.call.

Take a look at the discussion here. You can ignore the .communicate() call.

M Z
  • 4,571
  • 2
  • 13
  • 27