AWS Thinkbox Discussion Forums

subprocess.popen, monitor

Whats the proper way of opening subprocesses from the monitor via scripts? We are currently using subprocess.popen in some of our viewer launcher tools, but that means if we quit the monitor, but not the spawned processes, we can’t reopen the monitor again.

Try using ProcessUtils.SpawnProcess, and if you’re using the function that takes 5 parameters, make sure redirectStdOutput is set to False.

If that doesn’t work, let us know and we’ll do some digging.

Cheers,
Ryan

Privacy | Site terms | Cookie preferences