Hi,

I'm stuck at a puzzle for quite some time.

Situation: (Linux environment)
I have a script that is invoked from an application (running my script as
part of embedded python). I have no power over that application, only supply
the script it executes. Now for development reasons I want that script to
spawn a console and show me the output through there. Though there is the
ugly way of writing to file and tailing it, it would be great if someone
could come up with a cleaner version.

The approach I've been taking is trying to start a child with the subprocess
module and pipe the sys.stdoout into the stdin of the child... hummmm. No
success so far.


Thanks,
~lwk
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to