Re: links



On 12 Feb 1998, Miroslav Silovic wrote:

> <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 still don't like the idea. that's still swapping alot of memory without
good enough reason to. sometimes, we may even have to invent a better
wheel to get where we want to go..
 _        _  __     __             _ _                                  _
|        / |/ /_ __/ /_____         |       Nuke Skyjumper               |
|       /    / // /  '_/ -_)        |         "Master of the Farce"      |
|_     /_/|_/\_,_/_/\_\\__/        _|_           nuke@bayside.net       _|




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