Control process execution

Noah noah at noah.org
Wed Apr 9 16:11:02 EDT 2008


On Apr 6, 5:30 am, Wesley Mesquita <wesleymesqu... at gmail.com> wrote:
> I am trying to create a test environment to a couple C applications
> (simple UDP and TCP server/clients), so I want to write this in python
> and I m looking for ways to do it. Basically I need an execution timer
> and timeout control (to kill the apps in certain situations). Looking
> at google, I found the Pexpect package, but I m a little bit lost in
> using it.

Pexpect might be good. But if you are just looking at running an
application
without talking to it interactively then you might be able to just get
by
with os.process.

--
Noah



More information about the Python-list mailing list