no universal newlines in os.popen

Discussion in 'Python' started by Torsten Marek, Aug 8, 2003.

  1. Is it a bug that
    os.popen("some_nifty_command some_arg", "rU")
    gives
    OSError: [Errno 22] Invalid argument
    in Python 2.3?

    greetings

    Torsten
     
    Torsten Marek, Aug 8, 2003
    #1
    1. Advertising

  2. Torsten Marek <> writes:

    > Is it a bug that
    > os.popen("some_nifty_command some_arg", "rU")
    > gives
    > OSError: [Errno 22] Invalid argument
    > in Python 2.3?


    Yes.

    Martin
     
    Martin v. =?iso-8859-15?q?L=F6wis?=, Aug 8, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jens Mander
    Replies:
    0
    Views:
    520
    Jens Mander
    Jun 10, 2005
  2. Jens Mander
    Replies:
    2
    Views:
    1,423
    Jerry Coffin
    Sep 1, 2005
  3. Jaison

    MSDN Universal for only $1499

    Jaison, Jul 16, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    300
    Jaison
    Jul 16, 2003
  4. Baz Walter

    universal newlines and utf-16

    Baz Walter, Apr 11, 2010, in forum: Python
    Replies:
    0
    Views:
    254
    Baz Walter
    Apr 11, 2010
  5. File.popen/IO.popen

    , May 20, 2006, in forum: Ruby
    Replies:
    1
    Views:
    272
    Robert Klemme
    May 20, 2006
Loading...

Share This Page