472,145 Members | 1,498 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

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?



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

Aug 20 '07 #1
0 770

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.