Re: [cmake-developers] execute_process on windows uses CreateProcess

2018-04-04 Thread Brad King
On 04/04/2018 03:30 AM, Mathieu Westphal wrote: > Is there a way, using cmake, to start a gui command on windows > and have the gui shows up ? ``` execute_process(COMMAND cmd /c notepad) ``` > If not, is this intended? Yes. Otherwise console windows appear for everything. CreateProcessW is *th

[cmake-developers] execute_process on windows uses CreateProcess

2018-04-04 Thread Mathieu Westphal
Hello CMake developpers. We are using execute_process in some of our tests for a Qt based application (ParaView) However, on windows, the GUI does not show up and that caused some problems for rendering. We have investigated the problem, and it looks like execute_process on windows is based on Cr