RE: Win32::Console Question: How to attache a process to console

2010-08-04 Thread Jan Dubois
On Wed, 04 Aug 2010, lacunasolutions wrote: > > I am looking how to attache a cmdline tool to a console and controll > it then. > > 1. Is this possible? There is an AttachConsole() API in Windows, but it is not exposed via Win32::Console. It would be trivial to add though. The real question is

Win32::Console Question: How to attache a process to console

2010-08-04 Thread lacunasolutions
Hi to all, I am looking how to attache a cmdline tool to a console and controll it then. 1. Is this possible? 2. How do I attache the console to the spawned process? a) do i first spawn the process and ttache the console b) do I first launch console and start a process c) how do I use $CONS