develooper Front page | perl.perl5.porters | Postings from July 2016

Re: [perl #38748] qx seems to loose the subpr. way for print/dev/tty

Thread Previous | Thread Next
Aaron Crane
July 12, 2016 17:17
Re: [perl #38748] qx seems to loose the subpr. way for print/dev/tty
Message ID:
Dan Collins via RT <> wrote:
> This ticket badly needs to be reviewed by a Darwin expert. Is there something that we need to work around on this OS? (Can you summarize it and update the ticket name?)

I've tried and failed to reproduce this:

$ uname -sr
Darwin 13.4.0
$ perl -wE 'say $^V'
$ echo 'puts $tcl_version' | tclsh
$ cat
#! /usr/bin/env perl
while (1) {
    `./inner.tcl -a`;
    sleep 2;
$ cat inner.tcl
#! /usr/bin/env tclsh
exec echo foo >/dev/tty
$ chmod +x inner.tcl
$ ./

It seems to me that whatever bug existed when this ticket was filed a
decade ago has subsequently been fixed, and I suggest this ticket can
therefore be closed now. Alternatively, if the original requestor can
submit complete, self-contained scripts that still reproduce the
problem (the incomplete Tcl program in transaction 131257 merely fails
with a "no such variable" error before it runs anything at all), we
can surely investigate further.

Aaron Crane **

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About