http://www.perlmonks.org?node_id=950691


in reply to Re: exec not working?
in thread exec not working?

Adding the full path to perl.exe fixed the problem although perl is on the path environment variable. The behaviour is strange because the earlier lines can find perl fine without prefixing the path. Thanks, Ross.