help with popen, one-way IPC.
Brian Alexander
crystalc at interlog.com
Mon Oct 2 00:58:20 EDT 2000
More information about the Python-list mailing list
Mon Oct 2 00:58:20 EDT 2000
- Previous message (by thread): help with popen, one-way IPC.
- Next message (by thread): help with popen, one-way IPC.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello;
I have a program that might possibly be writing to stdout (not a python
program) and would like to use redirection in Python to collected the
output. I'm having a little trouble with the call to popen(), though.
I thought it was this:
otherapp_stdout = popen( "appname", "r")
while otherapp_stdout.readline != "\n"
# do stuff with each line.
Is this the right idea. Communication only needs to be one way.
Many thanks in advance,
Brian.
- Previous message (by thread): help with popen, one-way IPC.
- Next message (by thread): help with popen, one-way IPC.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list