Cygwin Popen object

C

christiancoder

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
 
J

Jason Tishler

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top