X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=scripts%2Fafm-util;h=9df5284c312907a210a91c97e708f7d2142f44f7;hb=d6d9ef2d710c266b1b6247875a4f69d2ecac4018;hp=243b43c6c133ae96981ce09b34baa1b1fdeb4627;hpb=011a41f695cbc7aa5deca2dcee77ccf9d21f5823;p=src%2Fapp-framework-main.git diff --git a/scripts/afm-util b/scripts/afm-util index 243b43c..9df5284 100755 --- a/scripts/afm-util +++ b/scripts/afm-util @@ -52,6 +52,16 @@ case "$1" in send start "\"$i\"" ;; + run-remote|start-remote) + i=$2 + send start '{"id":"'"$i"'","mode":"remote"}' + ;; + + once) + i=$2 + send once "\"$i\"" + ;; + terminate|kill) i=$2 send terminate "$i" @@ -96,6 +106,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