delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/09/15:31:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 9 Nov 1999 15:32:53 -0500
To: Elliot Mednick <elliot AT lexra DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Semicolor seperator in Perl system() command under WinNT
Message-ID: <19991109153253.B3918@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: Elliot Mednick <elliot AT lexra DOT com>,
cygwin AT sourceware DOT cygnus DOT com
References: <000b01bf2ae2$b90d5f20$0e08a8c0 AT lexra DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <000b01bf2ae2$b90d5f20$0e08a8c0@lexra.com>; from Elliot Mednick on Tue, Nov 09, 1999 at 01:46:24PM -0500

It sounds like you may not have a /bin/sh around to execute your commands.

cgf

On Tue, Nov 09, 1999 at 01:46:24PM -0500, Elliot Mednick wrote:
>What do I need to do to be able to use semicolons in the system command in
>Perl under WinNT?
>
>For example:
>
>$log = system ("cd foo; ls");
>
>This works fine under Win98.  But under WinNT, I get nothing.  I get nothing
>anytime I use semicolon or other punctuation inside the system command.  But
>single commands work fine.  Same holds true for backticks.
>
>Cygwin 20.1, Perl 5.005_03 for Cygwin.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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