delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/05/16/13:17:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:mime-version:to:subject:content-type
:content-transfer-encoding:message-id; q=dns; s=default; b=QbTiy
RWnWURuHlmVSbpy/vC8Ax9+nn9DVrDu/KtzHRUPqy7DuQF9PmoaxX+EkrJDQ7mCU
KXZfy2JQlvqxmybYW+1NqMcNUhe4pL9MlGfn9UTJUXowwcIVQmyokHClbnQDBkCg
+JDiwltZQbHakEpREFHiCLc9SaxHTl6K22hoKg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:mime-version:to:subject:content-type
:content-transfer-encoding:message-id; s=default; bh=3r6sc2vdbIr
LVOtcp30PWZlbF9Q=; b=T3g2X50ZBbjUAuvGqgj+PHJQjMgnD4LOZbq2WxjxvSd
iP0r0qpa2QoxNcO6uGSVfYgeDwp8My/ScOKq6bXgSuJ/fR6adw6eyExDcNt+kE7L
Ggi9fOPAL+5cnUNH9wx1IJqmzsix0AsHcflBPn95C0y82P5GLSSRH0vb6SJ3G4t8
=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM autolearn=ham version=3.3.1
Date: Thu, 16 May 2013 19:17:23 +0200
From: Denis Corbin <dar DOT linux AT free DOT fr>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121215 Icedove/3.0.11
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: call to system() leading to execve() failed. (process table is full?)
OpenPGP: url=http://dar.linux.free.fr/doc/authentification.html
Message-Id: <20130516171724.7C57F141D0B@edrusb.is-a-geek.org>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019