libobs: Avoid busy cursor when starting processes

Windows 10 shows a busy cursor when a process is created, this is not
useful for our background processes which have no UI.
This commit is contained in:
Richard Stanway 2018-05-30 17:25:33 +02:00
parent 396c05e23c
commit 834ebbd2d4
No known key found for this signature in database
GPG key ID: AAC1E5265D71B3FD

View file

@ -50,7 +50,7 @@ static inline bool create_process(const char *cmd_line, HANDLE stdin_handle,
bool success = false;
si.cb = sizeof(si);
si.dwFlags = STARTF_USESTDHANDLES;
si.dwFlags = STARTF_USESTDHANDLES | STARTF_FORCEOFFFEEDBACK;
si.hStdInput = stdin_handle;
si.hStdOutput = stdout_handle;