Php calls exec to execute the commands in the bat script. why is the previous command still being executed ??? Bat: I hope you can tell me. how can I make the previous line run the last line? Is there any good method? Php calls exec to execute the commands in the bat script. why is the previous command still being executed ??? Bat: I hope you can tell me. how can I make the previous line run the last line? Is there any good method?
Reply content:
Php calls exec to execute the commands in the bat script. why is the previous command still being executed ??? Bat: I hope you can tell me. how can I make the previous line run the last line? Is there any good method?
Thank you!
Not understood
Start xx.exe
Or start xx. bat
Php exec is something on the execution console. if there is any problem, it's not something about php.
If you want to execute commands in bat sequentially, you need to add the call keyword before the command: for example:
Call dircall xxxx.exe