possible to preserve subprocess.Popen objects for later?

Ratko rjagodic at gmail.com
Fri Jun 22 22:42:59 CEST 2007


> Sounds like you might want to consider running the backround task as
> either a service or daemon  and communicate via a TCP/IP connection or
> a named pipe rather than using STDIN/OUT.  Actually you could use
> either idea without actually setting up a daemon.

Unfortunately I don't have control over the processes that I am
running (they are components of a much larger system that I am trying
to bring under one roof).

However, it seems that a named pipe might work. Is it possible to set
up a named pipe for a process that I start and tell that process to
direct all its output to it?

Thanks,
Ratko




More information about the Python-list mailing list