Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: tiwag on July 19, 2006, 05:09:49 pm
-
is it somehow possible to send the output of a batch-build which is showin in the batch-build notify window to a logfile instead ?
also it would be nice, to get some errorlevel results in order to test the result of the batch-build job ( error exit or normal exit ) in the batch-file,
is this already possible ? (maybe i did only not find the proper documentation about)
-
I think redirection already does the job ?? >>
-
I think redirection already does the job ?? >>
thanks ! it works so simple.
because of there is no output without redirection specification, i thought there is nothing to redirect !
-
the returned errorlevel setting seems always to be 0
regardless if there was an error or none ...
-
the returned errorlevel setting seems always to be 0
regardless if there was an error or none ...
Codeblocks.exe returns now the batch-build exit code (when a batch-build was active)
the build-success can now be checked in a batch-file
using the %ERRORLEVEL% environment variable
and checking if the result was 0 (zero)
committed to svn rev 2774