Hi,

I am trying to run more than one programs through single .plist using launchd.
I don't know how to put program arguments. I have tried for that but not getting results. I am new user of Mac 10.4

My .plist format is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.domain.Agent</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/prgram1</string>
<string>/usr/local/prgram2</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/Library/Logs/Prg.log</string>
<key>StandardOutPath</key>
<string>/Library/Logs/Prg.log</string>
</dict>
</plist>


Plz help on this..

Thanks,
Pankaj.