标签: php linux shell terminal
在使用对话框运行命令时,我似乎对 shell_exec("linux command here") 产生了奇怪的行为。
shell_exec("linux command here")
如果我执行 shell_exec("php -a") 或 shell_exec("openssl") 之类的操作,通常我会得到一个交互式控制台,等待我输入更多代码。但是当从 PHP 调用这些时,它只是在输入 next shell_exec("command") 时重置回常规控制台。
shell_exec("php -a")
shell_exec("openssl")
shell_exec("command")
是否可以使用 PHP 左右的交互式控制台来表示 shell_exec()?
shell_exec()