Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Cygwin Popen object

Reply
Thread Tools

Cygwin Popen object

 
 
christiancoder@gmail.com
Guest
Posts: n/a
 
      01-17-2005
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

 
Reply With Quote
 
 
 
 
Jason Tishler
Guest
Posts: n/a
 
      01-17-2005
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
 
Reply With Quote
 
 
 
 
Grover
Guest
Posts: n/a
 
      01-17-2005
Yup that fixed it, thanks a million

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File.popen/IO.popen hariwise@gmail.com Ruby 1 05-20-2006 08:20 AM
confirm unsubscribe from cygwin@cygwin.com cygwin-help@cygwin.com Python 0 09-05-2003 04:42 PM
WELCOME to cygwin@cygwin.com cygwin-help@cygwin.com Python 1 09-05-2003 07:46 AM
confirm unsubscribe from cygwin-announce@cygwin.com cygwin-announce-help@cygwin.com Python 0 09-05-2003 01:29 AM
confirm unsubscribe from cygwin@cygwin.com cygwin-help@cygwin.com Python 0 09-04-2003 06:34 PM



Advertisments