Today at 11:17am, Jeremy C. Reed said:

> On Thu, 24 May 2001, Wilbert Berendsen wrote:
>
> > So the shell will not spoil a process if it's not necessary.
>
> I think that is a bash feature. (On some systems /bin/sh is bash.)
>
> But not with ash (standard /bin/sh), csh or ksh.
>
> USER  PID %CPU %MEM   VSZ   RSS TT STAT STARTED     TIME COMMAND USER  PID PPID PGID 
>  SESS JOBC STAT TT     TIME COMMAND
> reed 6424  0.0  0.4   556   452 p5 I+   10:59AM  0:00.01 links   reed 6424 6423 6423 
>7a6600    1 I+   p5  0:00.01 links
> reed 6423  0.0  0.2   444   196 p5 I+   10:59AM  0:00.00 sh -c l reed 6423 6290 6423 
>7a6600    1 I+   p5  0:00.00 sh -c links
>
> I might be misunderstanding something, then why did Scott ask about it in
> the first place? (I assume he doesn't use bash as /bin/sh.)
>
> Right now I have 13 rxvt processes started by another 13 "sh -c" processes
> all started by blackbox. I think these 13 "sh -c" processes are a waste of
> time and resources. (Please note that my blackbox menu entries for these
> rxvt's do not have any shell pipes, redirections or any other sh
> functionality.)

Boys you're right! I didn't know that only bash does this.

Well, maybe yes it's more elegant then to have blackbox launch the app
directly; when you want, you can always type sh -c 'blabla | bla' in
the bb menu file.

btw: ot: I still think it would be nice to integrate menu's and keyboard
handling better (you assign keyboard shortcuts to menu entries, and not
have to separately setup keyboard actions to launch apps.)

Regards,
Wilbert

-- 
 /"\  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  /"\
 \ /   ASCII Ribbon Campaign       Wilbert Berendsen             \ /
  X   - NO HTML/RTF in e-mail      http://www.xs4all.nl/~wbsoft   X
 / \  - NO MSWord docs in e-mail   http://linuxathome.nl         / \

Reply via email to