shell: apply sdb shell
authormunkyu.im <munkyu.im@samsung.com>
Wed, 17 Oct 2012 09:06:25 +0000 (18:06 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Wed, 17 Oct 2012 09:06:25 +0000 (18:06 +0900)
add uxterm commend for Mac

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java

index 6eaaa75..5019f03 100644 (file)
@@ -1893,8 +1893,11 @@ public class EmulatorSkin {
                                } else if (SwtUtil.isWindowsPlatform()) {
                                        procSdb.command("cmd.exe", "/c", "start", sdbPath, "sdb",
                                                        "-s", "emulator-" + portSdb, "shell");
+                               } else if (SwtUtil.isMacPlatform()) {
+                                       procSdb.command("/usr/X11/bin/uxterm", "-T", "emulator-" + portSdb, "-e", sdbPath,"shell");
                                }
                                logger.log(Level.INFO, procSdb.command().toString());
+                       
 
                                try {
                                        procSdb.start(); // open sdb shell