Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个文件,tenoticebot.py,我希望能够从 PHP 页面启动和停止。这可能吗?我认为该页面需要从用户帐户启动脚本,将其启动到后台(屏幕),获取并保留进程 ID,然后才能终止该进程。这可能吗?我可以有代码吗?或者你能推荐一个更简单的版本和代码吗?谢谢!