Subj : Error attempting to run 'between' script
To : Roy Witt
From : Rj Clay
Date : Sun Oct 14 2012 08:57 am
Roy,
13 Oct 12 21:05, you wrote to me:
RW> Rj Clay wrote to All:
RC>> Something I've been seeing that I'm trying to figure out:
RC>> -----<cut>----------------------------------
RC>> % 11:16:58 System: between
RC>> % 11:16:58 execvp returned -1, errno is 2.
RC>> ? 11:16:58 Error executing program.
RC>> -----<cut>---------------------------------
RC>> IIRC, the error being returned is 'No such fail or directory'.
RW> Is the 'script' a reference to the 'batch' file used in the DOS or Win
RW> version, as in between.bat?
A 'script', as in; "a small program written for a command interpreter...".
And yes, on DOS or Windows systems, they've been commonly referred to as
'batch' files.
RW> Is Linux looking for a file with a .SCR extension? Are *.SCR files
RW> executable in Linux?
On linux/unix systems, there is no requirement for using an extension on a
file name (like '.bat' or '.cmd') in order to identify a file as a batch or
script file, although it's not unusual to use one for other reasons. (The
command line shell checks the first line in the file for the sequence "#!" at
the beginning of the line; if present, then what follows on that line is the
path & name to the program to be used to process the rest of the file.)
So to me, the line "System: between" noted above indicates that IRex is
attempting to run the batch/script file named "between", which the error says
it can't access and/or find. That file is in the base directory where Internet
Rex is installed, where the Irex executables are installed, including 'rexl'.
It is set as an excutable.