This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Changes in process spawning break perl system() function


On Mar 17 03:34, LRN wrote:
> How to reproduce:
> 1) create a shell script (say, /usr/bin/shellscript) containing this:
> 
> #!/bin/sh
> echo ${0##*/}
> 
> 2) create a symlink (say, /usr/bin/asymlink) that points to shellscript
> 
> 3) create a perl script (say, /usr/bin/perlscript) containing this:
> 
> #! /usr/bin/perl -w
> system '/usr/bin/asymlink';
> 
> 4) run /usr/bin/perlscript
> 
> Expected results:
> "asymlink" should be echoed by the shellscript when it is run by perlscript
> 
> Actual results:
> "shellscript" is echoed instead
> 
> This affects 1.7.35.

Thanks for the report.  I applied a fix for that and uploaded new
snapshots to https://cygwin.com/snapshots/

Could you please try them and report back?


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpJZZT7Tvdv2.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]