[Twisted-Python] question about subprocess
Jonathan Vanasco
twisted-python at 2xlp.com
Thu Sep 26 19:51:54 MDT 2013
Quick question about (sub)processes in twisted :
how bad is it to use the subprocess module ? ( in general / in this application )
I have the following setup :
- Twisted Daemon that does 5 things (very well!)
- A new requirement -- to execute 2 scripts on the commandline , one after the other ( ie, blocking )
the 2 commandline scripts are just tossing some PostgreSQL commands via `postgresql db < file.txt`
i was looking at reactor.SpawnProcess -- which I know is more correct. it just seems to be a bit annoying to use , and I know the subprocess module already.
More information about the Twisted-Python
mailing list