Sep 14, 2000, 5:18 PM
Post #2 of 3
The error is mostly likely referring to the /path/to/program from your scripts shebang line (#!), as you cannot exec() a script if there's no interpreter to run it through.
If the /path/to/program appears valid, then check to make sure you don't have ^M's at the end of the line (they'll show up in an editor like vi, but won't if you use cat or more), which is usually the sign of editing the script on Windows and FTPing the file in binary mode instead of ASCII.
[This message has been edited by Kanji (edited 09-14-2000).]