【发布时间】:2017-12-13 09:32:16
【问题描述】:
我需要使用exec() 函数,但它不适用于参数。
有效:
exec('C:\Program Files (x86)\Google\Chrome\Application\chrome.exe');
它没有:
exec('C:\Program Files (x86)\Google\Chrome\Application\chrome.exe --headless --disable-gpu --screenshot=D:\file211.png --window-size=1920,1200 http://google.com')
如何在 exec 中设置参数?
【问题讨论】: