I'm having troubles running commands lines in python. I'm currently using
os.system("cd " + path)
os.system(command)
However, os.system opens a new console each time.
What class should i use for it to work ? How can I intercept the output ?
Thanks !