Extend getCoordinatesFromCmdExec timeout to 500 ms to make consistent with timeout for WaitForSingleObject

This commit is contained in:
Akihiro Uchida 2015-03-04 20:18:47 +09:00
parent 1b2eff4438
commit 9ff9a41494
1 changed files with 1 additions and 1 deletions

View File

@ -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);