delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/04/01:24:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B6B8723.B6C86AB7@paradise.net.nz>
Date: Sat, 04 Aug 2001 17:24:51 +1200
From: Edmund Horner <ejrh AT paradise DOT net DOT nz>
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Can't execute non-Cygwin applications after using socket().

Hello.

Background: I am using cygwin to develop a web-server like application.
Part of this requires the ability to execute external commands in
response to an HTTP request.  Thanks to what is probably an unrelated
problem, I need to execute DJGPP-compiled executables, using the
system() function.

This appears to successfully run the program, but then prints the
message "Signal 127", shows an "invalid page fault" box referring to
SH.EXE, then resumes execution of my main program.

The same occurs for normal DOS applications (such as command.com).  For
command-line win32 applications, like "start.exe /?", I get the "Signal
127" message, but no error box.

The above problems do not occur if I haven't called socket() first.

Is there any way I can run DJGPP executables from a Cygwin application
after calling socket() ?

Thanks for forthcoming all advice,
Edmund.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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