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条回答 默认 最新

    报告相同问题?