You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2003-10-31.10:02:57.000>created_at=<Date2003-03-13.20:35:37.000>labels= ['library']
title='os.popen with mode "rb" fails on Unix'updated_at=<Date2003-10-31.10:02:57.000>user='https://bugs.python.org/isonno'
On Windows, it's necessary to use the mode "rb" to
open a binary stream to a process. On Unix the "b"
modifier isn't necessary, but supplying it causes the
popen call to fail with
OSError: [Errno 22] Invalid argument
The Unix version of popen should accept and simply
ignore the "b" modifier to the mode, rather than fail.
That way the same code can run on both platforms
without modification or extra code to special case an
OS that may need the "b" modifier.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: