in reply to Perl in Windows - STDOUT to file Behavior difference by run context

I debugged a similar problem but not same yesterday/today by chance. See https://rt.cpan.org/Ticket/Display.html?id=50374. When you use the run box, there is no shell/cmd prompt. MSDOS Batch language is not available from the run box. Expect to find a '>' in your @ARGV if you use the run box. You need to type "cmd /c perl foo.pl > text.txt" into run box so the shell processes it and launches perl, not the run box.
  • Comment on Re: Perl in Windows - STDOUT to file Behavior difference by run context

Replies are listed 'Best First'.
Re^2: Perl in Windows - STDOUT to file Behavior difference by run context
by AngelOnTheSideline (Initiate) on Mar 12, 2014 at 14:47 UTC
    This is exactly what I was looking for. Issue resolved. Thanks bunches!!!