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: <20011004153659.17160.qmail@web11507.mail.yahoo.com> Date: Thu, 4 Oct 2001 08:36:59 -0700 (PDT) From: Robert Legros Subject: RE:system not working as expected To: Jorge Goncalvez Cc: cygwin AT cygwin DOT com In-Reply-To: <200110041522.RAA12697@cabs40.col.bsf.alcatel.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Jorge Goncalvez wrote: > I tried this but it doen't work. > It also took some time for me to let it work ... I do run on Windows 98, NT and 2000. Please put your application, 'cygwin1.dll' and 'sh.exe' in the same directory. Then write your system call as follows : system( "PATH=/usr/bin:/usr/local/bin" " " "some_command_to_execute" ); It does work for me. Best Regards, ===== Robert Legros south Brussels, Belgium robert_legros AT yahoo DOT com __________________________________________________ Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- 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/