Add logic to detect exec failure due to an invalid interpreter. #3718
Add logic to detect exec failure due to an invalid interpreter. #3718

Previously, if you had an invalid interpreter name, you would get
an error along the lines of:

Failed to execute '/tmp/foo': (errno=2: 'No such file or directory')

(despite the fact /tmp/foo exists!  It was referring to the first line,
of '#!/bin/blah').  Now, you get:

Failed to execute '/tmp/foo': invalid interpreter (/bin/blah) specified
on first line of script

htcondor/htcondor,neurodebian/htcondor,htcondor/htcondor,neurodebian/htcondor,neurodebian/htcondor,neurodebian/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,neurodebian/htcondor,neurodebian/htcondor,neurodebian/htcondor,htcondor/htcondor,htcondor/htcondor,neurodebian/htcondor,neurodebian/htcondor,htcondor/htcondor