summaryrefslogtreecommitdiff
path: root/src/spawn.cpp
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2024-06-09 11:00:13 +0200
committerGitHub <noreply@github.com>2024-06-09 11:00:13 +0200
commitc43535f5bcf1043c3b9c00c77967267cf1acf60f (patch)
tree455ed246fb7d6460c069573ad433e7b4cd667d17 /src/spawn.cpp
parent3d18f0cd38dc8b7dc980772f986944e5f9327dba (diff)
Update for new USVFS function scheme. (#2044)
* Update for new USVFS function scheme. * Fix call to usvfsVersionString(). * Move USVFS to mo2 dependencies instead of third party in CI.
Diffstat (limited to 'src/spawn.cpp')
-rw-r--r--src/spawn.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spawn.cpp b/src/spawn.cpp
index ae5c86ee..83ac720e 100644
--- a/src/spawn.cpp
+++ b/src/spawn.cpp
@@ -457,9 +457,9 @@ DWORD spawn(const SpawnParameters& sp, HANDLE& processHandle)
const DWORD flags = CREATE_BREAKAWAY_FROM_JOB;
if (sp.hooked) {
- success = ::CreateProcessHooked(nullptr, const_cast<wchar_t*>(wcommandLine.c_str()),
- nullptr, nullptr, inheritHandles, flags, nullptr,
- wcwd.c_str(), &si, &pi);
+ success = ::usvfsCreateProcessHooked(
+ nullptr, const_cast<wchar_t*>(wcommandLine.c_str()), nullptr, nullptr,
+ inheritHandles, flags, nullptr, wcwd.c_str(), &si, &pi);
} else {
success = ::CreateProcess(nullptr, const_cast<wchar_t*>(wcommandLine.c_str()),
nullptr, nullptr, inheritHandles, flags, nullptr,