in reply to Perl exit code is not always bubbling up

It sounds like you have no doubt that Perl actually sets the error code, so this has nothing to do with Perl. I'd recommend converting the batch to bash.

[ Intentionally left this question about batch files unapproved ]

  • Comment on Re: Perl exit code is not always bubbling up

Replies are listed 'Best First'.
Re^2: Perl exit code is not always bubbling up
by malevy (Initiate) on Feb 27, 2009 at 16:49 UTC
    yes. I do believe that perl is setting the exit code correctly. I was hoping that someone knew of a set of circumstances where the exit code could be lost as it bubbled up through multiple layers. -Mike
      I was hoping that someone knew of a set of circumstances where the exit code could be lost as it bubbled up through multiple layers.

      Without seeing code, people can only guess.

      I know of one, youve been hacked by wormexitchanger which always exitcodes of all proces ... :P