MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / logSpawning

Function logSpawning

src/spawn.cpp:401–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399{
400
401void logSpawning(const SpawnParameters& sp, const QString& realCmd)
402{
403 log::debug("spawning binary:\n"
404 " . exe: '{}'\n"
405 " . args: '{}'\n"
406 " . cwd: '{}'\n"
407 " . steam id: '{}'\n"
408 " . hooked: {}\n"
409 " . stdout: {}\n"
410 " . stderr: {}\n"
411 " . real cmd: '{}'",
412 sp.binary.absoluteFilePath(), sp.arguments,
413 sp.currentDirectory.absolutePath(), sp.steamAppID, sp.hooked,
414 (sp.stdOut == INVALID_HANDLE_VALUE ? "no" : "yes"),
415 (sp.stdErr == INVALID_HANDLE_VALUE ? "no" : "yes"), realCmd);
416}
417
418DWORD spawn(const SpawnParameters& sp, HANDLE& processHandle)
419{

Callers 1

spawnFunction · 0.85

Calls 1

absolutePathMethod · 0.45

Tested by

no test coverage detected