Is it possible to start and stop a commandline program from php (on the same machine)?
And retrieve its ouput on the command line from within PHP?
The question is related to the following question I asked regarding VB:
Cancelling background-worker
It works in VB now and I would like to create the same functionality using PHP.
It should work in both Linux and Windows (it would be great if it also works on MAC, however this is not necessary).
see PHP documentation for system or exec command