perl/cygwin and system calls

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Mon Mar 5 12:12:00 GMT 2001


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 //<drive> syntax?  You should use "/cygdrive/c" or a mount.




Larry Hall                              lhall@rfk.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



More information about the Cygwin mailing list