Control process execution

Noah noah at
Wed Apr 9 22:11:02 CEST 2008

On Apr 6, 5:30 am, Wesley Mesquita <wesleymesqu... at> 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
without talking to it interactively then you might be able to just get
with os.process.


More information about the Python-list mailing list