in reply to Win32::OLE redirect STDIN?

What about closing (and not reopening) STDIN. Because it doesn't really want the data from STDIN it stands to reason that there are no errorchecks at the read. If the read fails with an error, the program goes on.

Replies are listed 'Best First'.
Re: Win32::OLE redirect STDIN?
by CMonster (Scribe) on Jun 21, 2001 at 23:38 UTC

    What about closing (and not reopening) STDIN.

    I tried duping and closing STDIN as well, the same way STDOUT is closed in the code. There was no effect; the OLE process still expected keypresses.