Hi,
I'm writting a server control panel at the moment and I'm redirecting the console text to my application.
This is how it should look like
And this is the result:
I've tried so many things but i can't get it to work. I simply want to redirect the console output to my application.
OutputDataReceived failing somehow?
Discussion in 'Rust Development' started by Inofix, Sep 28, 2015.
-
Hi Inofix, did you manage to get the output redirected ?
Edit:
It is a bit of a hassle, but what i ended up doing doing is to monitor the log files. Every time there is a change (FileSystemWatcher) i pop a Filestream with FileShare.ReadWrite wich allows subsequent opening of the file and then read the last added line.
From here i can do whatever i want.
Now comes the real task, how to input...
Look at the links i provided if you want examples and documentation.Last edited by a moderator: Apr 3, 2016

![[IMG]](proxy.php?image=http%3A%2F%2Fi.imgur.com%2FWhqSHYn.png&hash=7eb1f72d73d32842657bf16691bc976c)
![[IMG]](proxy.php?image=http%3A%2F%2Fi.imgur.com%2FOeQku33.png&hash=f3cb34c0290a3615f99a209f67de3148)