This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: perl/cygwin and system calls


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]