|
Posted by vol30w60 on 05/07/07 14:27
venkat.muvva@gmail.com wrote:
> Hi,
>
> I have to start an application from PHP and the application should run
> on its own then onwards.
>
> I have tried with system(), exec() etc... and I am not scuccessul.
>
> Please help me in solving this problem.
>
> Thanks in Advance
> --Venkat
>
If you are using Windows, you probably need to use the PsTools method
noted here:
http://us2.php.net/manual/en/function.exec.php#59428
Once you have PsTools, you can launch an application like this:
<?php
exec('C:\PsTools\psexec.exe -accepteula -d -s notepad.exe 2>&1', $output);
?>
Navigation:
[Reply to this message]
|