Whenever WinAPI function fails use PANIC with an information from
GetLastError()
sample output for trying to call sp.exe lsSpawnerError: D:\dev\npipes\Spawner\libspawner\src\win32\runner.cpp:162:CreateProcess: "ls", error code: 87: The parameter is incorrect.
Whenever WinAPI function fails use PANIC with an information from GetLastError()
sample output for trying to call
sp.exe ls
SpawnerError: D:\dev\npipes\Spawner\libspawner\src\win32\runner.cpp:162:CreateProcess: "ls", error code: 87: The parameter is incorrect.