X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=scripts%2Fafm-util;fp=scripts%2Fafm-util;h=eb800d9342a43b1c8884423ee9c8346445643d38;hb=a1f7f7d2cd79c9391368d0c017452566a5edc44c;hp=243b43c6c133ae96981ce09b34baa1b1fdeb4627;hpb=b6ac54640c918aecaf2f28edf82f8217154b12f3;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