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.
这是我的脚本:
#!/usr/bin/php <?php $pid = 18283; $is_ok = posix_kill($pid, SIGKILL); if($is_ok){ echo 'OK'; } else { echo 'NOT OK'; }
脚本输出为“NOT OK”,pid 为 18283 的进程仍然存在。我究竟做错了什么 ?