RE: [CMake] Reading from stdin during exec_program

2007-03-04 Thread develop
Thanks, EXECUTE_PROCESS work just fine. I have been using the book for command reference, I will stop doing that. Thanks again. Regards - ThomaS -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Filipe Sousa Sent: 4. marts 2007 00:59 To: cmake@cmake.org

[CMake] Reading from stdin during exec_program

2007-03-02 Thread develop
Hi there, I am having some problems reading from stdin, from an external program executed using the exec_program command. The external program is a c++ program just reading a string from stdin(actually reading one line), and writing something to stdout. When this program is runned on its own it w