delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | Mark Himsley <mark AT mdsh DOT com> |
To: | Jorge Goncalvez <goncal11 AT col DOT bsf DOT alcatel DOT fr> |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: Run a perl script with cygwin |
Date: | Wed, 05 Dec 2001 09:51:37 +0000 |
Message-ID: | <scqr0u09mmb249tm1fvc88pjnjf72l21o6@4ax.com> |
References: | <200112050907 DOT KAA20482 AT cabs40 DOT col DOT bsf DOT alcatel DOT fr> |
In-Reply-To: | <200112050907.KAA20482@cabs40.col.bsf.alcatel.fr> |
X-Mailer: | Forte Agent 1.8/32.548 |
MIME-Version: | 1.0 |
Please make sure that replies go to the Cygwin email list whom I am CCing this reply to. On Wed, 5 Dec 2001 10:07:17 +0100 (MET) you wrote: >I tried but it fails it says bad path with my script even it says that iu-config > The specified name is not recognized as being an internal command(order) or >external, a program executable or a file of command(order) . > >I use the Active_perl for Win32. >Why? You are still confusing Cygwin applications with Windows applications. Active State's Perl knows nothing of Cygwin's POSIX style paths and applications. Cygwin comes with its own Perl which known about Cygwin paths. Why are you using Active State's Perl? There is NO WAY you are going to directly run iu-config from Active State Perl from outside of Cygwin because it is a Bash script. If you insist on running Active state Perl you may have more luck with: my $cmd='C:\cygwin\bin\bash.exe /bin/iu-config'; but the proper thing to do is to run the Perl which comes with Cygwin. -- Mark Himsley In Acton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |