[RFC PATCH 0/2] executing programs without sh -c
Ali Gholami Rudi <[email protected]>
| Newsgroups | gmane.comp.window-managers.ratpoison.devel |
|---|---|
| Message-ID | <20081119082148.GD4894@lilem> |
Currently the raw argument of spawn() is never used. It might make sense to either remove it altogether or add a command that uses it. exec command always forks a sh process for executing commands. These patches add execr command to execute the program directly. Ali Gholami Rudi (2): actions.c: make spawn() parse the arguments when raw is 1 add execr command doc/ratpoison.texi | 4 ++++ src/actions.c | 45 +++++++++++++++++++++++++++++++++++++++++++-- src/actions.h | 1 + 3 files changed, 48 insertions(+), 2 deletions(-)