From: Ian Jackson Date: Tue, 12 Jun 2012 15:48:00 +0000 (+0100) Subject: example can run other programs X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl-applet.git;a=commitdiff_plain;h=0ea9173f66089f0fc27a9d2751a44e15c16ca235;hp=26a08255c2b85fb059d91c408c01851e87e7fa68 example can run other programs --- diff --git a/example b/example index 6d3eb65..bd05b17 100755 --- a/example +++ b/example @@ -25,7 +25,8 @@ applet::setup-tooltip { puts VIS } { puts INVIS } applet::tooltip-set "line\nanother" proc cmdline {id orientation} { - return [list xacpi-simple -into $id] + global argv + return [concat $argv $id] } applet::setup-subproc cmdline