diff options
author | Gerrit Pape <pape@smarden.org> | 2009-09-24 21:17:22 +0000 |
---|---|---|
committer | Gerrit Pape <pape@smarden.org> | 2009-09-24 21:17:22 +0000 |
commit | f1069d3986eb3fbb4e9945ec669566efe5cb5cd7 (patch) | |
tree | 1beb93926669bcf1343840cc95cae8dbb31e04f0 /man/chpst.8 | |
parent | 1ce8ddf8e5d6ed8559a4eebbff0f4bde17fce6bf (diff) | |
download | runit-f1069d3986eb3fbb4e9945ec669566efe5cb5cd7.tar.gz runit-f1069d3986eb3fbb4e9945ec669566efe5cb5cd7.tar.xz runit-f1069d3986eb3fbb4e9945ec669566efe5cb5cd7.zip |
* pathexec_env.c, pathexec.h: add function pathexec_env_run().
* chpst.c, man/chpst.8: new option -b argv0: run prog with different 0th argument.
Diffstat (limited to 'man/chpst.8')
-rw-r--r-- | man/chpst.8 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/chpst.8 b/man/chpst.8 index c67ec65..43c0b8d 100644 --- a/man/chpst.8 +++ b/man/chpst.8 @@ -8,6 +8,8 @@ chpst \- runs a program with a changed process state .IR user ] [\-U .IR user ] +[\-b +.IR argv0 ] [-e .IR dir ] [\-/ @@ -96,6 +98,14 @@ and arguments are interpreted as uid and gid respectivly, and not looked up in the password or group file. .TP +.B \-b \fIargv0 +argv0. +Run +.I prog +with +.I argv0 +as the 0th argument. +.TP .B \-e \fIdir envdir. Set various environment variables as specified by files in the directory |