Cygwin Popen object

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • christiancoder@gmail.com

    #1

    Cygwin Popen object

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

    File "d:\atg\persona l\python\buildr oot\util.py", line 100, in System
    pipe = subprocess.Pope n( command, shell=True,
    stdout=subproce ss.PIPE, stderr=subproce ss.STDOUT,
    universal_newli nes=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

  • Jason Tishler

    #2
    Re: Cygwin Popen object

    On Mon, Jan 17, 2005 at 12:41:25PM -0800, christiancoder wrote:[color=blue]
    > Is anybody else getting the following error with the Popen object in
    > cygwin? The code works fine in windows and linux.
    >
    > File "d:\atg\persona l\python\buildr oot\util.py", line 100, in System
    > pipe = subprocess.Pope n( command, shell=True,
    > stdout=subproce ss.PIPE, stderr=subproce ss.STDOUT,
    > universal_newli nes=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[/color]

    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

    Comment

    • Grover

      #3
      Re: Cygwin Popen object

      Yup that fixed it, thanks a million :)

      Comment

      Working...