WEXITED can be only used with waitid(), not waitpid(). Hum... Ok, it works better when I put waitpid(pid, &status, 0);.
確定! 回上一頁