On 2013-10-17 16:59, Brad King wrote:
On 10/17/2013 04:56 PM, Rolf Eike Beer wrote:
We should think if this should be something that is needed. Running some sort
of background process is a common pattern for all sorts of tests. Often really
detaching is not needed, It is usually sufficient to have one process running in
the background while the tests runs.

As I explained in a sibling response the KWSys Process library
has support for creating detached processes.  It should only be
a matter of exposing that through execute_process command options.

Probably not a bad idea. Does KWSys get the resulting PID? If yes, it might be good to have a way to pass that back into CMake in order to also add a kill_process command at the same time in order to have a general way to stop processes launched in the background. (And/or a wait_process, etc.)

Something to keep in mind...

--
Matthew

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to