perl/cygwin and system calls
Robinow, David
drobinow@dayton.adroit.com
Mon Mar 5 12:29:00 GMT 2001
> From: Perakis, John [ mailto:JPerakis@crossbeamsys.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
More information about the Cygwin
mailing list