[Title] skin java process with WinExec in Windows
authorSon Hyunjun <hj79.son@samsung.com>
Sat, 17 Mar 2012 12:01:42 +0000 (21:01 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Sat, 17 Mar 2012 12:01:42 +0000 (21:01 +0900)
[Type] Bugfix
[Module] Display/Skin
[Priority] Minor
[CQ#]
[Redmine#]
[Problem] A command window shows starting Skin in Windows
[Cause]
[Solution]

Change-Id: I758dd32dc1ba8ca52e88dacea3a811308945143c

tizen/src/skin/maruskin_client.c

index 0f0791d..12e2168 100644 (file)
 #define SKIN_SERVER_SLEEP_TIME 10 // milli second
 
 #define JAR_SKINFILE_PATH "emulator-skin.jar"
-#ifdef _WIN32
-#define JAVA_EXEFILE_PATH "javaw"
-#else
 #define JAVA_EXEFILE_PATH "java"
-#endif
-
 #define JAVA_EXEOPTION "-jar"
 
 #define OPT_SVR_PORT "svr.port"
@@ -90,11 +85,15 @@ static void* run_skin_client(void* arg)
         OPT_VM_PATH, vm_path,
         argv );
 
+#ifdef _WIN32
+    WinExec( cmd, SW_SHOW );
+#else
     if( system(cmd) ) {
 
     }else {
 
     }
+#endif
 
     return NULL;
 }