Skip to content

Commit 07730d2

Browse files
wait for process startup
1 parent 39903e5 commit 07730d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ int wmain(int argc, WCHAR **argv) {
6969

7070
ShowWindow(GetConsoleWindow(), SW_HIDE);
7171

72+
Sleep(5000);
73+
7274
HANDLE hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
7375
HANDLE process = INVALID_HANDLE_VALUE;
7476

0 commit comments

Comments
 (0)