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: <80575AFA5F0DD31197CE00805F650D7602CEA6@wilber.adroit.com> From: "Robinow, David" To: cygwin AT cygwin DOT com Subject: RE: perl/cygwin and system calls Date: Mon, 5 Mar 2001 15:28:31 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" > From: Perakis, John [mailto:JPerakis AT crossbeamsys DOT com] > Subject: perl/cygwin and system calls > ... I'm trying to use a system call to kick off my > make ie system("//c/cygwin/bin/make all"). This piece is failing, I > believe, because the system call is going out and using an NT > environment not a Cygwin env. Does anyone know how I can get this to > what I want. Use cygwin perl and setup your path correctly. Then system("make all") If there's some reason you think you can't use cygwin perl try system("cmd/c do_my_make.bat") take a peak at your c:\cygwin\cygwin.bat for hints on what to put in my_make.bat -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple