• 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: respawn - inittab
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: respawn - inittab


  • Subject: Re: respawn - inittab
  • From: julifos <email@hidden>
  • Date: Sat, 06 Sep 2003 15:13:58 +0200

> Hi there,
> How to make an application restart itself ? I know on other unix system
> the option to use respawn for restart applications, and on macox sever
> the watchdog option, but I don't know how to make this on macosx ( no
> server).
>
> thanks a lot
>
> Martin

While some folk comes with a more efficient solution, you can use this:

######################################
ignoring application responses
tell application "Terminal" to do script "sleep 3; open " & quoted form
of POSIX path of (path to me)
end ignoring
quit
######################################

jj
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: sort
  • Next by Date: Re: Getting the actual speed via "Internet Connect"
  • Previous by thread: respawn - inittab
  • Next by thread: Automating iCal invitation mails to iCal
  • Index(es):
    • Date
    • Thread