I have this code:
<?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>updater.Keychain.plist.sh</string> <key>ProgramArguments</key> <array> <string>bash</string> <string>-c</string> <string>/Users/qwe/Music/meta.sh</string> <string>/Users/qwe/Music/seta.sh</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist>
The thing is that "meta.sh" is a never-ending script that check every 5 second whether something specific is happening and therefore "seta.sh" is never being run. When doing this in terminal i can simply use the & symbol to make the files run in background but i have tried with the
& at the end of the file names but it did not really work. Can anybody please help me? Thanks!!