Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^2: real time open(HANDLE,"cmd |");

by ikegami (Pope)
on Nov 07, 2009 at 23:21 UTC ( #805692=note: print w/replies, xml ) Need Help??

in reply to Re: real time open(HANDLE,"cmd |");
in thread real time open(HANDLE,"cmd |");

About the only thing you can do is fool the program into thinking its connected to a tty rather than a pipe. That will cause most programs to use line buffering. Look into using a pseudo tty. IPC::Run can help there.

Replies are listed 'Best First'.
Re^3: real time open(HANDLE,"cmd |");
by Anonymous Monk on Dec 28, 2012 at 13:40 UTC
    A windows console handle (CONIN$, CONOUT$) is not a pipe handle, it is a character device file handle (TTY handle) to the console input buffer or a console output buffer.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://805692]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2016-10-28 04:48 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (375 votes). Check out past polls.