Add command argument string splitting
launchd uses exec() under the hood when you specify ProgramArguments or Program so you must break apart program arguments into separate strings in an array or the command will fail
This commit is contained in:
1 parent
c617ddb3b2
commit
698e6ae092
4 files changed
+42
-1
No files matched your search
@@ -13,7 +13,9 @@
|
||||
</dict>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string><%= process.command %></string>
|
||||
<%- command_args.each do |command| -%>
|
||||
<string><%= command %></string>
|
||||
<%- end -%>
|
||||
</array>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
|
||||
Reference in new issue
Block a user