in reply to
How to continue running script if .exe program fails
Try
use Win32API::File(); Win32API::File::SetErrorMode(2);
https://metacpan.org/module/Win32API::File#SetErrorMode
is
SetErrorMode function (Windows)
Comment on
Re: How to continue running script if .exe program fails
Download
Code
In Section
Seekers of Perl Wisdom