From da6be80f18014a3972eedf05099cd0066e9eae04 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 3 Dec 2021 11:45:01 -0500 Subject: Split out ExecutableLocation (#2041) * #include an absolute path didn't work - because paths were taken to always be relative. * Split out ExecutableLocation. * Fixes for changes to ExecutableLocation. * Fix issues around Process on windows. * Improve comments. Kick CI. --- tools/slang-test/test-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/slang-test/test-context.cpp') diff --git a/tools/slang-test/test-context.cpp b/tools/slang-test/test-context.cpp index acc680f24..2f0e23815 100644 --- a/tools/slang-test/test-context.cpp +++ b/tools/slang-test/test-context.cpp @@ -118,7 +118,7 @@ SlangResult TestContext::_createJSONRPCConnection(RefPtr& out { CommandLine cmdLine; - cmdLine.setExecutable(exeDirectoryPath.getBuffer(), "test-server"); + cmdLine.setExecutableLocation(ExecutableLocation(exeDirectoryPath, "test-server")); SLANG_RETURN_ON_FAIL(Process::create(cmdLine, Process::Flag::AttachDebugger, process)); } -- cgit v1.2.3