Re: Start/stop daemon using php
| From: | David Sveningsson | Date: | Wed, 27 Feb 2008 21:48:19 +0000 |
| Subject: | Re: Start/stop daemon using php | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270438@lists.php.net to get a copy of this message | ||
@4u skrev:
Hi, You might consider D-BUS for your application and the D-BUS PHP binding which is available since some days too. This would allow you to start / stop your C application in a far more secure way than the suggested one. Please have a look at my original release annoucement at the D-BUS mailing list: http://lists.freedesktop.org/archives/dbus/2008-February/009363.html as well as the download URL: https://sourceforge.net/project/showfiles.php?group_id=17176&package_id=68954D-BUS sounds excellent, I will definitely try it out. I have never coded D-BUS myself but I don't think it would be too hard.
Even if the application runs on Windows you might be able to use D-BUS for communication.Currently neither the application or the frontend is planned to support windows as it is already full of very unix specific code. -- //*David Sveningsson [eXt]* Freelance coder | Game Development Student http://sidvind.com Thou shalt make thy program's purpose and structure clear to thy fellow man by using the One True Brace Style, even if thou likest it not, for thy creativity is better used in solving problems than in creating beautiful new impediments to understanding.