diff options
Diffstat (limited to 'doc/pies.texi')
-rw-r--r-- | doc/pies.texi | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/pies.texi b/doc/pies.texi index 012ac88..1a798e1 100644 --- a/doc/pies.texi +++ b/doc/pies.texi @@ -178,3 +178,7 @@ foreground. from its configuration file, starts them, and remains in the -background, controlling their execution. +background, controlling their execution. Each component is +defined by the name of the external program to be run and its +arguments (command line). The program is normally run directly +(via @code{exec}), but you can instruct @command{pies} to run +it via @code{sh -c} as well. @@ -872,2 +876,17 @@ disabled by @command{pies}, even if they respawn too fast. +@kwindex shell +@item shell +Run command as @code{/bin/sh -c "$command"}. Use this flag if command +contains shell-specific features, such as I/O redirections, pipes, +variables or the like. You can change the shell program using the +@code{program} statement. For example, to use Korn shell: + +@example +component X @{ + flags shell; + program "/bin/ksh"; + command "myprog $HOME"; +@} +@end example + @kwindex wait |