douqiong8412 2014-08-27 15:26
浏览 175

从shell_exec调用时,PhantomJS进程不会退出

I am executing phantomjs command to take a screenshot for a web site through php's shell_exec but even after the screenshot is taken the process doesn't exit.

I am executing PhantomJS through capturejs like this:

capturejs --ignore-ssl-errors yes --uri "google.com" -o "test.png" --viewportsize 1280x800

The capturejs code does call phantom.exit() after the screenshot has been taken.

Note: I am taking screenshot for google so there are no syntax errors.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 无法输出helloworld
    • ¥15 高通uboot 打印ubi init err 22
    • ¥20 PDF元数据中的XMP媒体管理属性
    • ¥15 R语言中lasso回归报错
    • ¥15 网站突然不能访问了,上午还好好的
    • ¥15 有没有dl可以帮弄”我去图书馆”秒选道具和积分
    • ¥15 semrush,SEO,内嵌网站,api
    • ¥15 Stata:为什么reghdfe后的因变量没有被发现识别啊
    • ¥15 振荡电路,ADS仿真
    • ¥15 关于#c语言#的问题,请各位专家解答!