I have a problem with a program called eqMac.
It starts automatically with the OS, but doesn't work properly.
I have to close eqMac and start it again and then it works fine.
I have made a plist file that I put in ~/Library/LaunchAgents to close the app after startup
But how do I close the app and then restart it in the plist?
Here is the my plist that closes eqMac:
<?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>pkill</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/pkill</string>
<string>eqMac</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
It starts automatically with the OS, but doesn't work properly.
I have to close eqMac and start it again and then it works fine.
I have made a plist file that I put in ~/Library/LaunchAgents to close the app after startup
But how do I close the app and then restart it in the plist?
Here is the my plist that closes eqMac:
<?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>pkill</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/pkill</string>
<string>eqMac</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>