61
Lix Main / Batch file to build Lix, how to catch output
« on: January 07, 2018, 07:33:20 PM »
I don't know if this is the right place to ask this and it is I think Win specific:
But I don't want to use command prompt for building, so I do it via batch file. The problem is that it is then hard to catch error messages since the window closes usually immediately.
So I'd actually like to create a logfile. I know that you can generally use > to get the output to a file. But now my problem: While it catches some messages like concerning the libraries it doesn't seem to catch the actual compiling messages, in particular not compiling errors.
I don't know why and what I can do about it. Has anyone an idea?
Edit: Okay, I think I have found it out myself. For the compiling messages I seem to need to use 2>.
But I don't want to use command prompt for building, so I do it via batch file. The problem is that it is then hard to catch error messages since the window closes usually immediately.
So I'd actually like to create a logfile. I know that you can generally use > to get the output to a file. But now my problem: While it catches some messages like concerning the libraries it doesn't seem to catch the actual compiling messages, in particular not compiling errors.
I don't know why and what I can do about it. Has anyone an idea?
Edit: Okay, I think I have found it out myself. For the compiling messages I seem to need to use 2>.