[cmake-developers] Perforce Patch for CTest
Rolf Eike Beer
eike at sf-mail.de
Thu Oct 17 16:56:20 EDT 2013
Am Donnerstag, 17. Oktober 2013, 14:18:34 schrieb Bill Hoffman:
> On 10/17/2013 1:52 PM, Pedro Navarro wrote:
> > Ok, I have the patch working and I'm going to send it soon. One
> > question, is it possible to launch a detached process from within CMake?
> > If I use EXECUTE_PROCESS to start p4d, CMake waits for it to finish so
> > -for now- I'm launching the Perforce daemon outside CMake.
>
> It is not possible to do this. One work around is to put the start of
> the process in a shell script or bat file that is used to run the ctest
> script which is basically what you are doing. :)
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.
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20131017/9a3d2028/attachment.sig>
More information about the cmake-developers
mailing list