I'm trying to get idasen-controller --server to launch at login, and persist. The prescribed method of doing this is by using a launchd.plist, which I have installed into ~/Library/LaunchAgents:
And cycling through the other possible values of adaptive and interactive to no avail.
Unfortunately, I'm not even getting anything in StdOut or StdErr.
launchd describes its expectations ( man launchd.plist) as follows:
Daemons or agents managed by launchd are expected to behave certain ways.
A daemon or agent launched by launchd MUST NOT do the following in the process directly launched by launchd:
• Call daemon(3).
• Do the moral equivalent of daemon(3) by calling fork(2) and have the parent process exit(3) or _exit(2).
A launchd daemon or agent should not perform the following as part of its initialization, as launchd will always
implicitly perform them on behalf of the process.
• Redirect stdio(3) to /dev/null.
A launchd daemon or agent need not perform the following as part of its initialization, since launchd can perform them on
the process' behalf with the appropriate launchd.plist keys specified.
• Setup the user ID or group ID.
• Setup the working directory.
• chroot(2)
• setsid(2)
• Close "stray" file descriptors.
• Setup resource limits with setrlimit(2).
• Setup priority with setpriority(2).
Does launching idasen-controller --server meet launchd's expectations?
Thanks for a very useful piece of software!
I'm trying to get
idasen-controller --server
to launch at login, and persist. The prescribed method of doing this is by using a launchd.plist, which I have installed into ~/Library/LaunchAgents:Unfortunately, this generates a SIGABRT when run by launchd, but running
idasen-controller --server
in Terminal works just fine.I tried specifying all the different process types, by adding a directive like this:
And cycling through the other possible values of
adaptive
andinteractive
to no avail.Unfortunately, I'm not even getting anything in StdOut or StdErr.
launchd describes its expectations (
man launchd.plist
) as follows:Does launching
idasen-controller --server
meet launchd's expectations?