How to run an executable/command *in the current console session* in PHP CLI?

前端 未结 0 1774
滥情空心
滥情空心 2021-02-13 17:04

This code:

shell_exec(\'color 12\');

Does nothing from PHP CLI.

It does do something if run interactively in a cmd.exe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题