Extend getCoordinatesFromCmdExec timeout to 500 ms to make consistent with timeout for WaitForSingleObject
This commit is contained in:
parent
1b2eff4438
commit
9ff9a41494
|
@ -546,7 +546,7 @@ Pandora_Windows_Service::getCoordinatesFromCmdExec (string cmd_exec)
|
|||
HANDLE out, new_stdout, out_read, job;
|
||||
string working_dir;
|
||||
string output = "";
|
||||
int timeout = 30;
|
||||
int timeout = 500;
|
||||
|
||||
/* Set the bInheritHandle flag so pipe handles are inherited. */
|
||||
attributes.nLength = sizeof (SECURITY_ATTRIBUTES);
|
||||
|
|
Loading…
Reference in New Issue