I'm looking to take a screensaver I've written and add the ability to execute something via the command line when it starts...
Namely I want to have the screensaver start the distributed.net client when it starts and then stop when it stops. so essentially it would send a command of "/Applications/dnetc/./dnetc -quiet" when the screensaver starts then "/Applications/dnetc/./dnetc -shutdown" when it wakes up...
Is there any easy methods for executing something via the command line withn a program???