On 5/16/06, Henning Makholm <[EMAIL PROTECTED]> wrote:
Scripsit "Olaf van der Spek" <[EMAIL PROTECTED]>

> Not true. For example, the kernel could be changed to pick the right
> Python binary if it sees #!/usr/bin/python.

There is already a hook for doing that that in the kernel; no patching
is required.

See the system calls link(2) and symlink(2). The (Essential) coreutils
package provides a userspace binary /bin/ln which makes these calls
available to shell scripts.

That's great. Could you tell me how to use those so that script A uses
python 2.3 and script B uses python 2.4 without modifying the scripts?

Reply via email to