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.  



_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to