Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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(). Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/