I have an EXE that I'm invoking through shell_exec() in PHP.
It takes 2.5 seconds to run whereas it only takes 0.25 seconds to run if I just double click the exe on the same server.
And this 2.5 seconds is not initialization or destruction - this is a custom timer I coded into the EXE that operates during runtime.
Note: The EXE runs as the internet guest account when invoked by PHP and as administrator when i double click
Note: The EXE contains logic to download a file from the internet (www.google.com
actually for testing purposes)
Can I narrow the gap and make it run faster?