This is the mail archive of the
cygwin
mailing list for the Cygwin project.
call to system() leading to execve() failed. (process table is full?)
- From: Denis Corbin <dar dot linux at free dot fr>
- To: cygwin at cygwin dot com
- Date: Thu, 16 May 2013 19:17:23 +0200
- Subject: call to system() leading to execve() failed. (process table is full?)
- Openpgp: url=http://dar.linux.free.fr/doc/authentification.html
Hi list,
First, I have carefully read the FAQ and the Cygwin documentation. I
have also read what seemed to be related problems to the one I will
described below, but could not find a solution to it, so I ask for help
here:
A software I use makes use of the system() library call. When this
software is ran from a Cygwin terminal, all works properly, a shell is
spawn in a new process and the requested program is executed as
expected. When instead I run it from a windows 'cmd' shell, I get a
error that the system (I suppose the Cygwin layer) reports as stated in
the object of this mail "execve() failed (process table is full?)".
I have copied the /bin/sh.exe beside the binary, I also added to
/cygwin/bin directory into the windows %path% variable but still meet
this same error message.
I can successfully run the sh.exe from windows I get the shell prompt,
so to me the problem does not seems to be a malfunctioning shell...(?)
I understand that Cygwin implements the system() library call upon
execve() system call, but do not understand what is missing for it to
work when ran from windows, in other words what make it think the
process table is full?
Thanks in advance for any help,
Regards,
Denis Corbin.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple