Home > Backend Development > PHP Tutorial > php system($cmd); 调用一个python脚本(完成两个exe文件的看护和重启),在win03或xp上好用。在win08上提

php system($cmd); 调用一个python脚本(完成两个exe文件的看护和重启),在win03或xp上好用。在win08上提

WBOY
Release: 2016-06-13 13:00:07
Original
966 people have browsed it

php system($cmd); 调用一个python脚本(完成两个exe文件的看护和重启),在win03或xp下好用。在win08下提
php system($cmd); 调用一个python脚本(完成两个exe文件的看护和重启),在win03或xp下好用。在win08下提示
------解决方案--------------------
win8的权限设置问题,权限不够
------解决方案--------------------
你使用服务跑程序的时候在nt6.0以后,服务必须注册为交互式服务才能弹出窗口。
而system方法需要弹出一个dos窗口执行,所以失败。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template