Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Re: Better way to restart the Dock' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re: Better way to restart the Dock
Authored by: Anonymous on Apr 10, '01 07:24:09AM

As far as I know you are actually slightly wrong.
as strange as it seems to the un-experienced user
"kill" sends the process a signal that can be specified at the command line.
If it is not specified, the "term" signal is sent, which is pretty much the same as "quit".
only if you use "kill -9 <PID>" or "kill -kill <PID>" the process specified is actually killed
i.e. force quit

Hope this helps.
iSee



[ Reply to This | # ]
Re: Better way to restart the Dock
Authored by: Anonymous on Apr 12, '01 07:34:26PM

I heard this somewhere else, not sure about it...
Doesn't kill -SIGHUP cause the app in question to quietly quit and restart immediately?



[ Reply to This | # ]
SIGHUP
Authored by: SeanAhern on May 28, '02 07:44:09PM

Nope. HUP stands for "hangup". Many system apps *are* configured to reread their configuration files when they receive a hangup signal, thus appearing to stop and restart. But not everything is like that.

In general, a HUP signal just causes the app to quit, similar to a TERM.



[ Reply to This | # ]
Re: Better way to restart the Dock
Authored by: GaelicWizard on Oct 05, '03 03:11:16AM

this only works in apps that UNDERSTAND SIGNALS which most aqua aocoa/carbon/classic apps DON'T. try it. "killall Microsoft\ Word" and see if it saves your changes...

---
Pell



[ Reply to This | # ]