Saturday 15 April 2017

mono debian redirect stdout

I am running a Windows program on linux with mono it's a server application for a game and I would like to redirect the stdout to a file so I tried this:

mono server.exe > console.log

The problem is that it is not writing anything only some dots here is an example of what it should write in the file: https://pastebin.com/7KW5KVQi The dots that are being writed in my file console.log are between the lines 6 and 26 on the pastebin.

Can someone help me ? I tried to spawn the process with a nodejs script but the returned buffer was exactly the same I was able to only read dots..



via Toxico

No comments:

Post a Comment