| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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" <drobinow AT dayton DOT adroit DOT com> |
| 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) |
> 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |