X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=scripts%2Fafm-util;h=eb800d9342a43b1c8884423ee9c8346445643d38;hb=d87f24e7f21e581e6b90034ca0df0459a271244a;hp=243b43c6c133ae96981ce09b34baa1b1fdeb4627;hpb=011a41f695cbc7aa5deca2dcee77ccf9d21f5823;p=src%2Fapp-framework-main.git diff --git a/scripts/afm-util b/scripts/afm-util index 243b43c..eb800d9 100755 --- a/scripts/afm-util +++ b/scripts/afm-util @@ -52,6 +52,11 @@ case "$1" in send start "\"$i\"" ;; + once) + i=$2 + send once "\"$i\"" + ;; + terminate|kill) i=$2 send terminate "$i" @@ -96,6 +101,8 @@ The commands are: run id start id start an instance of the widget of id + once id run once an instance of the widget of id + kill rid terminate rid terminate the running instance rid