Hi, the previous patch (source code) sent by me has a bug. When the descriptors are closed, it hangs.
./open_init_pty bash -c 'echo hello; exec >&- 2>&- <&-; sleep 1; ' Please wait a while, I'm going to fix it. Best Regards -- Zito -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]