delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/30/18:22:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Sender: sabat AT pmpro DOT com
Message-ID: <37015C74.1CFBAE39@pmpro.com>
Date: Tue, 30 Mar 1999 18:21:25 -0500
From: Jeff Sabat <sabat AT pmpro DOT com>
Organization: pmpro, inc.
X-Mailer: Mozilla 3.0 (X11; I; SunOS 4.1.3_U1 sun4m)
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: PATH problems with perl and make for shell commands.

I'm running cygwin B20 on NT.

In perl, if I try to get the output from a shell command (ie. `date`)
the program blocks waiting for me to press ENTER.  After I hit ENTER,
execution continues and I get the correct results.  If I use the full
path (ie. `d:\<cygdir>\bin\date.exe`), the program does not block and I
get the correct results. But, using the full path appears to prevent me
from piping the output.

I get the same blocking behavior when trying to use the shell command in
make (ie. FOO = $(shell date)).

Can anyone help me with this?  What causes the blocking before the path
is evaluated?

Thanks,

Jeff Sabat

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