Re: links



<nuke@bayside.net> writes:

> i don't think the idea of running an extra process (/bin/sh) for every
> Gnome program you want to run is such a smart idea. remember that things
> have to be very compact, and well written

Okay, it appears that the only important thing links can do is passing
parameters to programs. This is called 'Action' in CDE and has nothing
to do with links (symlink /points/ to a file, action /runs/ a file).

As for the 'sh' problem, well, you can do this:

#!/bin/sh
# improved script

exec /longpath/gnomeprogram parameter parameter $*

sh will run (which takes neglectable overhead, as Linux will share
memory with some other sh process) and then immediately die on exec.

-- 
I refuse to use .sig



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