http://qs1969.pair.com?node_id=574978

HuckinFappy has asked for the wisdom of the Perl Monks concerning the following question:

Brethren help me!

Following the latest round of Windows Security Patching, as mandated and inflicted on us by the I.T. group, we have begun to get erratic failures in one of our scripts which appear as:

Can't spawn "C:\WINDOWS\system32\cmd.exe": Bad file descriptor
The line in question is:
my $_retVal = system $ENV{ ComSpec }, '/c', $_fullCmd ;
Where $_fullcmd is simply the path to another script.

A given machine might execute this line fine many times, then will issue this error repeatedly over a period of a few minutes, before maybe working again. There appears to be no consistency.

I'm hoping someone else may have seen this...

thanks,
~Jeff