From: jihye424.kim Date: Fri, 15 Dec 2017 06:41:27 +0000 (+0900) Subject: appcmd: modify runapp command X-Git-Tag: submit/tizen/20171227.092455~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4932cc36e99998d178ee4a87dd294d9e9a603f34;p=sdk%2Ftarget%2Fsdbd.git appcmd: modify runapp command -- check type of application is widget or not before to run application Change-Id: I0d791cf802ab937a0273df9335e6d91774887d92 Signed-off-by: jihye424.kim --- diff --git a/src/default_plugin_appcmd.c b/src/default_plugin_appcmd.c index 5338854..c360f62 100644 --- a/src/default_plugin_appcmd.c +++ b/src/default_plugin_appcmd.c @@ -129,7 +129,7 @@ static int appcmd_runapp_gen_shellcmd(appcmd_info* p_info) { D("args: appid=%s\n", appid); snprintf(buf, len, "/usr/bin/pkginfo --app %s | grep component: | awk '{print $2}'" - " | while read var; do if [ $var = watchapp ]; then /usr/bin/app_launcher " + " | while read var; do if [ $var = watchapp ] || [ $var = widgetapp ]; then /usr/bin/app_launcher " "--start org.tizen.widget_viewer_sdk widget_id %s; else /usr/bin/app_launcher " "--start %s; fi; done", appid, appid, appid);