This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hello,
Seems like the Cygwin perl system() function calls exec() directly rather than passing the command to the shell?
For example:
Under Cygwin perl:
/usr/bin/perl -e '$x=system("wc < .bashrc");print"$x $!\n";'
produces the output:
-1 No such file or directory
Under ActiveState perl:
/cygdrive/e/Perl/bin/perl -e '$x=system("wc < .bashrc");print"$x $!\n";'
produces the output (as expected):
5 14 93
0
Thanks for your efforts... Version information appears below...
- Matt
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |