• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: restarting from an applicaiton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: restarting from an applicaiton


  • Subject: Re: restarting from an applicaiton
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 24 Sep 2002 13:28:12 +0200

On Tuesday, September 24, 2002, at 05:51 , Hsu wrote:

How about an AppleScript - something like "tell application Finder restart" ?

Don't ever (unless you first check whether Finder is there and provide a reasonable alert if not).

There may be no Finder at all. See SystemOverview.pdf, pp.112-113. Lucky us Apple themselves fixed in 10.2 the Preview bug (in 10.1 the preview code launched Preview.app through Finder, so without it it did not work) -- don't add more such problems yourself.

Besides -- sorry I've missed the beginning of the thread -- what you need restart for? A decent applicaiton should *NOT* restart system, and that applies to Installer too: restarting is just a *VERY* lame and despisable and windozelike workaround for being lazy to do the thing properly (and just SIGHUP those processes which needs to). Unless kernel itself is updated, there should be no need to restart -- ever!
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: restarting from an applicaiton
      • From: Ando Sonenblick <email@hidden>
References: 
 >Re: restarting from an applicaiton (From: Hsu <email@hidden>)

  • Prev by Date: Re: restarting from an applicaiton
  • Next by Date: Re: restarting from an applicaiton
  • Previous by thread: Re: restarting from an applicaiton
  • Next by thread: Re: restarting from an applicaiton
  • Index(es):
    • Date
    • Thread