If we want to pass command line arguments to the runtime executable, we must write a wrapper script for it. There is no way to embed the arguments in the registry record.
The runtime must not look in the PATH environment variable for the filename; the kernel passes it the full filename to use. Using the PATH can cause unexpected behaviour and be a security hazard.