[launchd-dev] launch_msg(): Socket is not connected

Arjun SM arjun.sm at gmail.com
Mon Jun 8 06:14:14 PDT 2009


Hi all,
   I am getting this message when i am trying to launch my application which
is a LaunchAgent. This message comes only when multiple Users are logged in.
This is a small script that i use in my postflight to launch for all the
logged in Users
for userName in `/usr/bin/users`
do
       echo "launch My_app"
       su -l $userName -c "launchctl load -S Aqua
/Library/LaunchAgents/com.myname.myappname.plist
done

should i check for anything more than the Users who have logged in so that i
can avoid "launch_msg(): Socket is not connected" message.???

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


More information about the launchd-dev mailing list