On Fri, May 14, 2010 at 5:20 PM, Richard Morse <[email protected]> wrote:
>
> One caveat; it is not necessarily the case that an application will reload 
> its defaults while running. iCal may; I don't know. However, in general you 
> need to restart an application after modifying defaults -- sometimes you need 
> to quit the application first!
>
> It's like editing /etc/ttys; you need to tell init about the changes by `kill 
> -HUP 1`.

That or use Applescript / System Events, which can be a "friendlier"
shutdown than a kill command, as the application will get a chance to
properly save buffers, preferences, etc:

`osascript -e 'tell application "iCal" to quit'`



-- 
Chris Devers

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to