Hi I am trying to use the cmd.exe of reactos (on
Windows!) with redirected
stdin/out/err. What I try to make is a remote shell application over
internet, and this is an important requirement for me, that it will work
with reacto's cmd.exe.
I have build a test program that will redirect locally. open the process
(cmd.exe at least for now) and will forward output on a EditBox. The whole
process works quite well with the cmd.exe of M$ >Windows but its buggy with
the cmd.exe of reactos. More specifically when I start the redirection I
just get the current path and ">" usual prompt, but after that, the
communication gets unresponsive. >Whatever I send, there will be no return
messages.
I attached the test project, and I would like to advice me if there is a
better approach that will work for ROS cmd.exe too.
What you have proposed is basically telnet.
Extremely insecure.
You really should consider using SSH or similar.
Also it looks like you are using pipes to do the transferring from the code
(but I could have misread it), and they only traverse local networks. You'd
be better off with netcat or similar (if you're OK with low security).
You could just use a command line like:
netcat | cmd | netcat
JGR
_________________________________________________________________
MSN Music
http://music.msn.no Finn din favorittmusikk blant nesten 1 million
låter