popen and popen2
cruciatuz
sasoft at gmx.de
Wed Nov 28 18:03:29 EST 2001
What is the difference between popen and popen2?
I compared pydoc popen und pydoc popen2:
### pydoc ###
Python Library Documentation: built-in function popen in os
popen(...)
popen(command [, mode='r' [, bufsize]]) -> pipe
Open a pipe to/from a command returning a file object.
Python Library Documentation: function popen2 in os
popen2(cmd, mode='t', bufsize=-1)
### end pydoc ###
The only difference i see is that bufsize is different(?)
What does that mean and when do i have to use popen and when do i have
to use popen2 ?
--
Stefan Antoni
----------------------------
Mit Nov 28 18:00:21 EST 2001
_
ASCII ribbon campaign ( )
- against HTML email X
/ \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20011128/d281b366/attachment.sig>
More information about the Python-list
mailing list