2010/8/23 Alexander Tarnopolsky <alexander.tarnopol...@pdgm.com>:
> Thanks for prompt reply.
>
> In a simple case I invoke just interactive shell using full path to
> 64bit cmd.exe :
>
> file (TO_NATIVE_PATH "$ENV{COMSPEC}" SHELL)
> SET (ARGS /k)
> execute_process (COMMAND ${SHELL} ${ARGS})
>
> Still I see that the cmd process running as 32bit (in TaskManager).

I'm not a windows expert but since execute_process somehow
Fork/CreateThread/CreateProcess from 32 bits CMake I doubt
that this 32bits app may fork a 64bits one.

The converse should be possible because of WoW64 thing
http://en.wikipedia.org/wiki/WoW64.

May be you can try to:

1) open a 32 bits command shell
2) try to open a 64 bits command shell from the first one and see what happen

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to