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: <3BE79C3C.51E91E85@syntrex.com> Date: Tue, 06 Nov 2001 09:15:56 +0100 From: Pavel Tsekov X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: m DOT buchmeier AT fz-juelich DOT de CC: cygwin AT sources DOT redhat DOT com Subject: Re: system() function doesnt work outside cygwin References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Can you hand the output of "cygcheck -s -v" and also your windows path ("echo %PATH%" in a cmd window) ? mbuch AT IFF572 DOT IFF DOT KFA-JUELICH DOT DE wrote: > > 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 ? -- 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/