delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/04/11:19:51

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
Message-Id: <200112041617.RAA18073@cabs40.col.bsf.alcatel.fr>
Date: Tue, 4 Dec 2001 17:17:48 +0100 (MET)
From: Jorge Goncalvez <goncal11 AT col DOT bsf DOT alcatel DOT fr>
Reply-To: Jorge Goncalvez <goncal11 AT col DOT bsf DOT alcatel DOT fr>
Subject: RE:Run a perl script with cygwin
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc

I have this Perl script under Cygwin

#!/usr/local/bin/perl -w

my $cmd="c:/cygwin/bin/iu-config";
system($cmd);

it fails iu-config is the cygwin script shell(/bin/sh).
Why?Althought It works when i type iu-config from the bash Cygwin


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019