mirror of
https://github.com/labwc/labwc.git
synced 2026-03-28 07:58:28 -04:00
action: do not expand env vars in Exec action
...<command> argument (but still resolve tilde). This makes it easier to write sh -c '' constructs without turning labwc into a shell parser in order to expand environment variables, whilst respecting single quotes and escaped characters as well as ignoring subshells syntax like $(foo) and backticks. Also, fix bug where buffer length+alloc get out-of-sync
This commit is contained in:
parent
c6c1f8e04b
commit
881d788bee
6 changed files with 44 additions and 12 deletions
|
|
@ -19,6 +19,7 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
Execute command. Note that in the interest of backward compatibility,
|
||||
labwc supports <execute> as an alternative to <command> even though
|
||||
openbox documentation states that it is deprecated.
|
||||
Note: Tilde (~) is expanded in the command before passing to execvp()
|
||||
|
||||
*<action name="Exit" />*
|
||||
Exit labwc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue