This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygwin 1.5.18-1 + Perl + open-pipe + native executable
- From: "PPC Hacker" <ppchacker at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 13 Dec 2005 12:03:59 -0800
- Subject: cygwin 1.5.18-1 + Perl + open-pipe + native executable
- Bcc:
Hi --
I've hit a problem with 1.5.18-1 and the Perl open pipe command:
open(SRC, "| $prog")
If $prog is a cygwin executable, everything works fine.
If $prog implies a shell-exec (rather than an exec), e.g., by including
quoting characters so that /bin/sh is called as a wrapper, everything works
fine.
If $prog is a native windows executable and a shell isn't required (i.e.,
Perl does a direct fork/exec), the open hangs.
Attached is a small test case (tar/gzip) showing the problem. "sh run"
shows the problem.
Also attached is the output of cygserver as requested and "Perl -V" for good
measure.
-- Rick
_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Attachment:
cygcheck.out
Description: Text document
Attachment:
perl.ver
Description: Text document
Attachment:
bug1.tar.gz
Description: GNU Zip compressed data
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/