[Worker] Change console title
This commit is contained in:
parent
25fbd00c52
commit
0d5ce55b54
@ -14,6 +14,7 @@ namespace Worker
|
||||
|
||||
void Runner::run()
|
||||
{
|
||||
printf("Attaching to parent process %d...\n", this->processId);
|
||||
HANDLE processHandle = OpenProcess(SYNCHRONIZE, FALSE, this->processId);
|
||||
if (!processHandle || processHandle == INVALID_HANDLE_VALUE)
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ namespace Worker
|
||||
else
|
||||
{
|
||||
#ifdef DEBUG
|
||||
SetConsoleTitleA("IW4x Worker");
|
||||
SetConsoleTitleA("IW4x: Worker");
|
||||
#else
|
||||
FreeConsole();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user