Handle potential OSError exception thrown when errors occur launching external scripts.