On Sun, Jan 17, 2010 at 7:53 PM, Ralf Mardorf
<[email protected]> wrote:
> David Adler wrote:
>> This requires that qjackctl isn't running, so the
>> full version for scripted pseudo-on-the-fly
>> pachbay change is:
>>
>>
>> TEST=`ps ax | grep qjackctl | grep -v grep | wc -l`
>>  if [ $TEST = 0 ]
>>  then
>>      killall qjackctl
>>  fi
>> qjackctl -a /path/to/patchbaydefenition.xml
>
> I can't speak for this example, but for my actual start-session script
> "killall" sometimes isn't okay. I added "-9 -w" and now it seems to be
> okay all the time. I kill all apps before I launch them, even if they
> aren't running, to avoid that there are unwanted processes running after
> a crash.

you're right, the whole test is obsolete. It just avoids a
potentially irritating error message.

I never had issues with SIGTERM (the killall default, -15).
Not too sure, but -w seems to be a good thing when
restarting the application immediately afterwards,
no problems yet without it, though.


best,
d
_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to