From: Edward Middleton Date: 2004-04-02T10:53:44+09:00 Subject: Re: wrapping interactive console program in Windows -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 nobu.nokada@softhome.net wrote: | Default console provided by Windows quite differs from pty. | | BTW, your original issue seems not to be concerned with pty at all. | Have you read [ruby-talk:96023]? nobu.nokada@softhome.net wrote: | At close_write, your myprogram.exe reaches EOF. You have to check | it. I have read it but probably not understood. I realize it should not have a close_write because I intend to continue using the processes stdin. The program does not terminate after processing the first command. Isn't EOF only issued when the program terminates and closes its stdout? Edward Middleton -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAbMeNZUwEk2PVHAwRAg+kAJ9up8PNMyRQeinTNO1Iae9wRDhgTgCeLXEu Jz35JzglXrgm/PDzKK8lth8= =4Qxs -----END PGP SIGNATURE-----