diff options
author | Joey Hess <joey@kitenet.net> | 2011-05-01 11:18:47 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-05-01 11:18:47 -0400 |
commit | 8decb24be3abca65cd26171afce50009b4b8a0da (patch) | |
tree | bee26922d737a911a815985abfdbc6d774546f9a /doc | |
parent | 64a19a9831649e96028b623183c89c390ce37b25 (diff) |
Add support for "exec entries"; menu entries that pdmenu execs, replacing itself with their process. Contributed by Stephen Blott
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pdmenurc.man.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/pdmenurc.man.in b/doc/pdmenurc.man.in index 6eb8800..88964ac 100644 --- a/doc/pdmenurc.man.in +++ b/doc/pdmenurc.man.in @@ -277,6 +277,19 @@ This runs a command. The syntax is: .TP command The actual command to run when this item is selected. +.RS +.PP +Normally, +.BR pdmenu (1) +passes the command to +.BR system (3) +for exacution. However, if the first token of the command is "exec", then the +command is executed directly with the +.BR execvp (3) +system call. As such, the +.BR pdmenu (1) +process is wholly replaced by the command. +.RE .TP desc The description of the command that appears in the menu. |