我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

从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.

近期文章

  • 索引上的双列帖子显示在Wordpress中的Bootstrap
  • (PHP)基于浏览器语言设置导入XML值
  • symfony2动态提交表单修改
  • PHP多个后续HTML选择字段
  • 页面感知能够分配类
  • 如何在PHP中将NSArray传递给索引数组?
  • 在jquery验证码验证中比较$ .post的值
  • PHPExcel:使用单元格中的换行符导入csv文件
  • php createimage不会将图像输出到浏览器
  • phpmailer - 添加动态`$ mail-> From`值会导致未发送的邮件
  • 消除foreach中的重复ID
  • 更改magento类别分层导航
  • 将帖子术语分别插入DB
  • 如何在codeigniter中显示flashdata
  • 多个错误的表单验证
  • 序列化Doctrine Paginator用于缓存目的
  • 如何在wordpress中使用ajax嵌入谷歌地图?
  • htaccess特定查询重写
  • 如何使用phpdesigner 8同步localhost中的文件
  • 如何插入ajax方法,通过按下按钮将用户ID发布到mysql,刷新页面后,按钮上显示相同的文本

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华