vcpkg/test.cmake
nicole mazzuca 1515d080fe
[vcpkg] Rewriting CmdLineBuilder (2/n) (#15627)
* [vcpkg] Rewriting CmdLineBuilder (2/n)

I would like, and I think the team would like generally,
to switch to using stuff like `posix_spawn`, as opposed to the
existing use of `system` and `popen`.

This requires a pretty large change to how we use CmdLineBuilder.
The first change we have to make is that the execute functions
_cannot_ take a StringView anymore.
This PR makes that change.
2021-01-14 09:06:31 -08:00

2 lines
59 B
CMake

execute_process(COMMAND "bash" "-c" "echo \$TEST_ENV_VAR")