I'm working on a module that needs to start and stop a process. The
module stops the process fine, but it won't start the process.
In my loaderControlStart.cgi file I have the following line:
open (dialogLoaderd, "sudo -u dialog /Applications/dialogLoaderd|");
This does not start the process, but I don't see any errors when the
page finishes loading.
If I put this same exact line into a perl script and run it from the
command line the dialogLoaderd process starts up with no problems.
Could someone explain what I am missing?
Apple iServices Technical Support
Apple Computer, Inc.
Get latest updates about Open Source Projects, Conferences and News.