a few linux/unix related questions
Grant Edwards
grante at visi.com
Sat Feb 17 11:27:07 EST 2001
In article <mailman.982393640.28440.python-list at python.org>, Sean 'Shaleh' Perry wrote:
>> also how might i start another application then have two way communication
^^^^^^^
>> between it's shell and the python program that started it?
>>
>
>os.popen() # just like in C
>
>DESCRIPTION
> The popen() function opens a process by creating a pipe,
> forking, and invoking the shell. Since a pipe is by defi-
> nition unidirectional, the type argument may specify only
^^^^^^^^^^^^^^
> reading or writing, not both; the resulting stream is cor-
> respondingly read-only or write-only.
For bidirectional communications, use popen[234]
--
Grant Edwards grante Yow! I just remembered
at something about a TOAD!
visi.com
More information about the Python-list
mailing list