You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There currently does not seem to be any way to run an external program and save the output. Or at least I can't find one. Please correct me if there is one :)
os.system only runs the program, prints output to stdout. os.popen is not implemented, and all other solutions I found uses the subprocess module.
My solution for now is to run a script using os.system which writes the output of the program to a file which can then be read from my Python program. Feels like there must be a simpler way.