Running multiple console processes and watching their output

Diez B. Roggisch deets at nospam.web.de
Mon Aug 22 13:51:18 EDT 2005


Yoav wrote:
> I need to run multiple console apps in the background and to watch their 
> output. I have no idea if this is possible, and I don't even know where 
> to start looking. The processes are watchers, meaning that they watch 
> folders and mail boxes and do operations on items in them . Essentially 
> these are Java command line programs. What  I need is to have them 
> running and to take a glance at their console output once in a while to 
> parse it. Is it possible? How?

Pyexpect may help - and telling us what platform you are on, too.

Diez



More information about the Python-list mailing list