[Type] Bugfix
[Module] Display/Skin
[Priority] Minor
[CQ#]
[Redmine#]
[Problem] A command window shows starting Skin in Windows
[Cause]
[Solution]
Change-Id: I758dd32dc1ba8ca52e88dacea3a811308945143c
#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"
OPT_VM_PATH, vm_path,
argv );
+#ifdef _WIN32
+ WinExec( cmd, SW_SHOW );
+#else
if( system(cmd) ) {
}else {
}
+#endif
return NULL;
}