• 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: Login/Logout: Big LaunchServices issue.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Login/Logout: Big LaunchServices issue.


  • Subject: Re: Login/Logout: Big LaunchServices issue.
  • From: Markus Hitter <email@hidden>
  • Date: Wed, 17 Oct 2001 19:11:03 +0200

Am Mittwoch, 17. Oktober 2001 um 17:02 schrieb Stiphane Sudre:

[...]
Now if the user logout and then login again, the Cocoa background Application can't be launched again by the boot process. Yet it can be launched by another way, double clicking on it for instance.

To launch the Cocoa Application, I'm using the LaunchServices API and the second time (when it's no more working): LSOpenFromURLSpec returns with an error: 268435459 (which is not documented anywhere).

Stiphane,

could it be that there is some entry is left in any of these databases where the system tries to keep track about what's going on?

What, if you stop the app before logging out?



From what I've understood, when the user logout, the Window server kills the Cocoa Application since it has some connection with the Window Server.

IIRC, an App gets first a signal 1 (HUP: Hang up), then a signal 9 (the uncatchable one). The solution could be to exit the app cleanly after the signal 1 is sent. Would require a signal handler ...


Just a few thoughts,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/


  • Follow-Ups:
    • Re: Login/Logout: Big LaunchServices issue.
      • From: Stéphane Sudre <email@hidden>
    • Re: Login/Logout: Big LaunchServices issue.
      • From: Stéphane Sudre <email@hidden>
References: 
 >Login/Logout: Big LaunchServices issue. (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Problem using NSDocument
  • Next by Date: question about NSOutlineView first column values
  • Previous by thread: RE: Offscreen work
  • Next by thread: Re: Login/Logout: Big LaunchServices issue.
  • Index(es):
    • Date
    • Thread