Source code for these C functions is in the file `script.c'. section Scripting for a description of script argument processing.
script_find_executable is only defined on unix systems.
script_find_executablereturns the path name of the executable which is invoked by the script file name; name if it is a binary executable (not a script); or 0 if name does not exist or is not executable.
script_process_argvreturns a newly allocated argument vector in which the second line of the script being invoked is substituted for the corresponding meta-argument.
If the script does not have a meta-argument, or if the file named by the argument following a meta-argument cannot be opened for reading, then 0 is returned.
script_process_argv correctly processes argument vectors of
nested script invocations.