[launchd-dev] LoginItem issue on Tiger

Arjun SM arjun.sm at gmail.com
Thu May 28 23:48:17 PDT 2009


Hi,
    I have written a small application which is a LaunchAgent  and works
fine on Leopard 10.5.x with the command launchctl load
/Library/LaunchAgents/com.myname.myapp.plist. However on Tiger 10.4.11,
since i know that launchAgents would not work accordingly  i made my app as
a loginItem by adding the path for my application in the loginwindow.plist.

But the problem i am facing here is as soon as i install, my app would not
launch immediately !( As on leopard 10.5.x ) . I have to logout and login
again for application to launch, which i want to avoid. Can i in my
postflight of the installer manually launch my application ??
    what i mean by this is that ... in my postflight i would use "open <path
to my application>" . This would no doubt launch my app , but i wanted to
know if this is a good way of overcoming the problem?? what are its
implications ??

thanks ,
Arjun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/launchd-dev/attachments/20090529/7b54ad82/attachment.html>


More information about the launchd-dev mailing list