Hello,

mycommand 1>file 2>&1

That redirects stderr to stdout and then that joint stream to "file", at least in Unix. I think it's the same in Win32.

--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to the amount of work, I usually need 10 days to answer)


Quoting Mathieu Malaterre <[EMAIL PROTECTED]>:

'lo

 I am convinced this is an easy one, but I could not figure out how
to redirect standard output (from a process) into a file. Basically I
would need to run EXECUTE_PROCESS from within an ADD_CUSTOM_COMMAND
(run the process and capture output only when all the dependencies are
met).

-Thanks

--
Mathieu
Tel: +33 6 32 13 33 40
_______________________________________________
CMake mailing list
[EMAIL PROTECTED]
http://www.cmake.org/mailman/listinfo/cmake


_______________________________________________
CMake mailing list
[EMAIL PROTECTED]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to