By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,360 Members | 1,313 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,360 IT Pros & Developers. It's quick & easy.

mode parameter in popen2-4

P: n/a
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

Aug 20 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.