Modify that it does not inherit the handle in Windows OS.
authorKim Gunsoo <gunsoo83.kim@samsung.com>
Tue, 21 Jun 2016 04:52:33 +0000 (13:52 +0900)
committerGunSoo Kim <gunsoo83.kim@samsung.com>
Tue, 21 Jun 2016 06:37:22 +0000 (15:37 +0900)
- When you run the server process in the Windows OS, it has
  been changed so that it does not inherit the handle.

Change-Id: I59a779753e07ca448d6147452b04ff9c89bd1241
Signed-off-by: Kim Gunsoo <gunsoo83.kim@samsung.com>
src/utils_windows.c

index 988685b16d41b8b28ef6389d6029968b9ad28ce1..7d180e2b25efa101d3ce9803ac778b4be01d386d 100755 (executable)
@@ -167,7 +167,7 @@ static int _launch_server(int only_detect_tizen_device) {
         bSuccess = CreateProcess(module_path, szCmdline, // command line
                 NULL, // process security attributes
                 NULL, // primary thread security attributes
-                TRUE, // handles are inherited
+                FALSE, // handles are not inherited
                 DETACHED_PROCESS, // creation flags
                 NULL, // use parent's environment
                 NULL, // use parent's current directory