Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afm-user-daemon: Adds method "once"
[src/app-framework-main.git]
/
scripts
/
afm-util
diff --git
a/scripts/afm-util
b/scripts/afm-util
index
243b43c
..
eb800d9
100755
(executable)
--- a/
scripts/afm-util
+++ b/
scripts/afm-util
@@
-52,6
+52,11
@@
case "$1" in
send start "\"$i\""
;;
send start "\"$i\""
;;
+ once)
+ i=$2
+ send once "\"$i\""
+ ;;
+
terminate|kill)
i=$2
send terminate "$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
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
kill rid
terminate rid terminate the running instance rid