[CMake] execute_process with a python script

Dan Schmidt oreja80 at hotmail.com
Mon Dec 10 14:21:14 EST 2012


Hello,

I have a function in a cmake module that is being invoked with the purpose of running some scripts prior to the execution of tests. To do so, there is a call to execute_process to make sure nothing will impede the set-up of the environment for the tests. That runs to completion. The second is the one that sets up the environment for the tests. It is a python script that starts processes, about a dozen, and then returns. The problem is that, even though the script seems to finish and invoke it's return value, the execute_command does not seem to finish executing, unless the recently set up processes are terminated. Is this behaviour expected? Is there any way around this? The processes are definitely needed for the tests and cannot be done without.

Thank you very much for any help.

------

Dan
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20121210/7c7b62ca/attachment.htm>


More information about the CMake mailing list