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: <4.3.1.2.20010305150449.026f9a48@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Mon, 05 Mar 2001 15:07:13 -0500 To: "Perakis, John" , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: perl/cygwin and system calls In-Reply-To: <3AA3F0D8.5A783B2D@crossbeamsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 03:02 PM 3/5/2001, Perakis, John wrote: > Let me see if I can pose the question correctly. I would like to >use a cygwin environment from a perl script. I have a build >environment that works in a cygwin window. What I'm in the process of >trying to do is write a perl script that can be started from the Task >Scheduler. The perl script cd to a directory and cvs co a module. Once >the module is checked out 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. Is your Perl Cygwin-ized or is it the Win32 model? Why do you use the deprecated // syntax? You should use "/cygdrive/c" or a mount. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple