|
Posted by Gerry Vandermaesen on 04/11/06 13:57
Maybe this passage in the exec() manual contains your answer?
Note: If you start a program using this function and want to leave it
running in the background, you have to make sure that the output of
that program is redirected to a file or some other output stream or
else PHP will hang until the execution of the program ends.
Mike Youell wrote:
> Hi,
>
> I am trying to call an application from php. I have tried exec() and
> system() and even popen() all to no avail.
>
>
> Can an application be called if it brings up a window? The app I am
> calling has a command line interface, but it insists on bringing up
> it's standard window also.
>
>
> At the moment the .exe file displays in Windows Task Manager in the
> Processes tab.
>
> The PHP script hangs (until timeout) and the .exe doesn't do the job it
> should.
>
> I am probably being daft :o)
>
> Thanks in advance for any help or tips,
> Mike Youell.
Navigation:
[Reply to this message]
|