Cygwin Popen object

Discussion in 'Python' started by christiancoder@gmail.com, Jan 17, 2005.

  1. Guest

    Is anybody else getting the following error with the Popen object in
    cygwin? The code works fine in windows and linux.

    File "d:\atg\personal\python\buildroot\util.py", line 100, in System
    pipe = subprocess.Popen( command, shell=True,
    stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
    universal_newlines=True )
    File "/usr/local/lib/python2.4/subprocess.py", line 554, in __init__
    errread, errwrite)
    File "/usr/local/lib/python2.4/subprocess.py", line 914, in
    _execute_child
    self.pid = os.fork()
    OSError: [Errno 11] Resource temporarily unavailable
     
    , Jan 17, 2005
    #1
    1. Advertising

  2. On Mon, Jan 17, 2005 at 12:41:25PM -0800, christiancoder wrote:
    > Is anybody else getting the following error with the Popen object in
    > cygwin? The code works fine in windows and linux.
    >
    > File "d:\atg\personal\python\buildroot\util.py", line 100, in System
    > pipe = subprocess.Popen( command, shell=True,
    > stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
    > universal_newlines=True )
    > File "/usr/local/lib/python2.4/subprocess.py", line 554, in __init__
    > errread, errwrite)
    > File "/usr/local/lib/python2.4/subprocess.py", line 914, in
    > _execute_child
    > self.pid = os.fork()
    > OSError: [Errno 11] Resource temporarily unavailable


    Try rebasing your Cygwin installation. See the README:

    /usr/share/doc/Cygwin/python-2.4.README

    for more information. Does it solve your problem?

    Jason

    --
    PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
    Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
     
    Jason Tishler, Jan 17, 2005
    #2
    1. Advertising

  3. Grover Guest

    Yup that fixed it, thanks a million :)
     
    Grover, Jan 17, 2005
    #3
    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. Replies:
    0
    Views:
    462
  2. Replies:
    0
    Views:
    434
  3. WELCOME to

    , Sep 3, 2003, in forum: Python
    Replies:
    1
    Views:
    515
    Robin Becker
    Sep 5, 2003
  4. Replies:
    0
    Views:
    416
  5. File.popen/IO.popen

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

Share This Page