My problem is that :
With eaysphp2, i run a lot of function "exec"
and it open me cmd window ... I lost the focus of the current window ...
How can i dow to keep the focus during executing of my script
Using exec is not a very good idea, it's a good way to open security holes in your system.
There are two situations :
Using PHP with exec for administration/scripting : better use PHP in CLI mode
Using PHP with exec for website : better script your file with PHP only functions
Anyway, as this is not an EasyPHP specific problem, you'd get better answers on forums with PHP as a more specific topic.
I understand your answer but i need to compile TEX page by a script PHP ... Do you know other issue to do this ...
For the apparition of the window cmd.exe each time i used exec(), i want to say that window didn't appear with the version 1.8 of EasyPHP. Do you know why?