This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
PATH problems with perl and make for shell commands.
- To: cygwin@sourceware.cygnus.com
- Subject: PATH problems with perl and make for shell commands.
- From: Jeff Sabat <sabat@pmpro.com>
- Date: Tue, 30 Mar 1999 18:21:25 -0500
- Organization: pmpro, inc.
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@sourceware.cygnus.com