Next: Widget manipulation, Up: Actions [Contents]
If the action of a widget is created with the simple
<action>command</action>
directive, gtkdialog will execute
it in a subshell. That means it will start up /bin/sh
to handle
the operation. Here is how the subshell operation works:
This strange method is needed for the action driven programs, where the subshell have to load the shell functions from the calling script.
&
as last character, so the subshell will not wait
the program to complete.)
The Exit:Value
command exits gtkdialog
immediately. The Value will be printed to standard output as the
value of the variable named EXIT.