in reply to Open a second DOS window

I've not tried it at all, but seeing as the docs for AllocConsole (Win API) also claim to only be able to create one Console per process, I'm guessing you'll have to start a second process somehow. Using fork maybe? And then there's the fun of communicating between the two..

Personally I prefer log files for that.. less hassle :)

C.

Replies are listed 'Best First'.
Re: Re: Open a second DOS window
by hartwig (Sexton) on Oct 09, 2003 at 13:32 UTC
    Hi, why dont you use perl:TK - follow the link http://www.perlmonks.com/index.pl?node_id=297848 The question there was how to create a tail fkt with Tk. Solution is very straight forward. If you like the 2nd dos box because of the copy/past capability some widgets like Text will do the same job. Dont start to hassle with socket programming - if you do that properly you will end with a log-server .... Cheers Hartwig PS. Can you explain in more detail why there is a need for a 2nd dos-box?