[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: multiarch status update

On 5/16/06, Henning Makholm <henning@makholm.net> wrote:
Scripsit "Olaf van der Spek" <olafvdspek@gmail.com>

> 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 to: