Detta står på php.net om exec.
If a program is started with this function, in order for it to continue running in the background, the output of the program must be redirected to a file or another output stream. Failing to do so will cause PHP to hang until the execution of the program ends.
Så php väntar på att ditt program ska sluta köra. Så om du vill att programmet fortfarande ska köra så testa med att lägga till /B efter start