Next: binfmt scheme, Previous: binfmt control, Up: binfmt [Index]
If we want to pass command line arguments to the executable program implementing the interpreter, we must write a wrapper script for it; there is no way to embed the arguments in the registry record.
The wrapper must not look in the PATH
environment
variable for the actual interpreter filename; the kernel passes it the
full filename to use. Using PATH
can cause unexpected behaviour
and be a security hazard.