Re: links
- From: Miroslav Silovic <silovic zesoi fer hr>
- To: <nuke bayside net>
- Cc: gnome-list gnome org
- Subject: Re: links
- Date: 12 Feb 1998 10:59:09 +0100
<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]