469,616 Members | 1,720 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,616 developers. It's quick & easy.

mode parameter in popen2-4

In the popen docs, a file like object is returned,
and may be read to or written to depending on the
'mode' parameter ('r', or 'w').

Why is the mode parameter needed for popen2 and greater,
when both a stdin and stdout object is returned? One
wouldn't want to 'append' to a stream.... is it because
binary mode can still be turned on and off this way?

Thanks,

Tobiah

--
Posted via a free Usenet account from http://www.teranews.com

Aug 20 '07 #1
0 739

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Guy | last post: by
1 post views Thread by A. Lloyd Flanagan | last post: by
1 post views Thread by | last post: by
4 posts views Thread by P | last post: by
1 post views Thread by Vivien Mallet | last post: by
9 posts views Thread by Martin P. Hellwig | last post: by
1 post views Thread by diego | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.