On Apr 10, 2015, at 13:13, Michael Nickerson <[email protected]> wrote:
> 
> However, if you're running on 10.10, then it works *if* you have it run as a 
> LaunchAgent. Note I tested this on the command line, and used my user 
> LaunchAgents directory rather than the global one (/Library/LaunchAgents). 
> You probably want to do that anyway if you have multiple logins, unless you 
> actually want different screen sessions per user. It _should_ run the screen 
> session when you login, though I didn't test that; I just loaded it directly 
> via launchctl.

Odd. I AM running it as a LaunchAgent.

/Users/me/Library/LaunchAgents/com.kreme.home.irssi.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>Label</key>
        <string>com.kreme.home.irssi</string>
        <key>ProgramArguments</key>
        <array>
                <string>/usr/bin/screen</string>
                <string>-dmS</string>
                <string>irc</string>
                <string>irssi</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
</dict>
</plist>

Doesn’t start, doesn’t produce log lines in “All Messages” in Console.

-- 
"I don't care if Bill Gates is the world's biggest philanthropist. The
pain he has inflicted on the world in the past 20 years through lousy
products easily outweighs any good he has done.... Apple is as arrogant
as Microsoft but at least its stuff works as advertised" - Graem Philipson

_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to