Python calling external applications

Harry George hgg9140 at cola2.ca.boeing.com
Thu Dec 19 13:19:26 EST 2002


stevesusenet at yahoo.com (Steve) writes:

> Is it possible for pyton to
> - send a command to the os, as in starting a non-python program, app, script
> - be tell if that non-pyton script ran to completeion
> 
> Thanks in advance

Yes.  See

commands.getoutput(...)
os.spawnv(os.P_NOWAIT...)

-- 
harry.g.george at boeing.com
6-6M31 Knowledge Management
Phone: (425) 294-8757



More information about the Python-list mailing list