On Tue, 27 Feb 2018 20:21:24 -0800, bulk88 wrote: > On Tue, 27 Feb 2018 20:04:14 -0800, bulk88 wrote: > > Commit 5c8d fails badly on Windows for me. > > There are no quotes in the cmd line to the process > ------------------------ > Command line: C:\p525\src\t\perl.exe -e > use Carp; > sub foom { > Carp::confess("Looks lark we got a error: $_[0]") > } > BEGIN { > *{"o::()"} = sub {}; > *{'o::(""'} = sub {"hay"}; > $o::OVERLOAD{dummy}++; # perls before 5.18 need this > *{"CODE::()"} = sub {}; > $SIG{__DIE__} = sub { foom (@_, bless([], o), sub {}) } > } > $a + > > ------------------------------------ > > but Carp.t which has identical code (or almost?) does put "s in the > command line foe -e's arg. I suspect IPC::Open3 (or something it calls) is adding the quotation marks if the argument has none. Would it be feasible to feed the program to stdin and drop -e? -- Father Chrysostomos --- via perlbug: queue: perl5 status: resolved https://rt.perl.org/Ticket/Display.html?id=132902Thread Previous | Thread Next