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 From: mbuch AT IFF572 DOT IFF DOT KFA-JUELICH DOT DE Date: Mon, 5 Nov 2001 20:07:26 +0100 (CET) Reply-To: m DOT buchmeier AT fz-juelich DOT de To: cygwin AT sources DOT redhat DOT com Subject: system() function doesnt work outside cygwin Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII My application (build with unix layer, recent cygwin distro, win2K) cant call other programs using the system() fucntion when started from outside the cygwin enviroment. I have tryed out both posix and unix complete path without success. Here is a simple code that reproduces the problem: main() { system("notepad"); } It works fine when invoked from within cygwin but when called fron windows nothing happens. Anyone knows what i am doing wrong ? Thanks in advance for your help Matthias ############################################### # mail: Matthias Buchmeier # # IFF-IEE # # Forschungszentrum Juelich # # 52425 Juelich # # Germany # # # # tel: +49 (0)2461 61 4273 # # fax: 4443 # # email: m DOT buchmeier AT fz-juelich DOT de # ############################################### -- 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/