Vulnerability Development mailing list archives

Re: strange win2k behavior


From: "Felix Domke" <tmbinc () gmx net>
Date: Sun, 10 Mar 2002 02:58:41 +0100

I have noticed a strange behavior in windows 2000.  In a command shell
run
Cmd | echo hi
it's a normal redirection of the stdout to cmd to echo, which doesn't take
any inputs, but exits shortly after it has been started.

then the pipe is broken, and with every output of cmd.exe this message is
printed to the screen.

cmd behaves exactly as usual, so hitting ctrl+c just displays the prompt
again. you can escape it via "exit", as usual.

so there's nothing magic behind it.

in fact you launched a subshell, just with redirected output. if you escape
it (via "exit", since stdin isn't affected), everything is normal again.



Current thread: