diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-03 17:27:21 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-03 17:27:21 +0200 |
commit | 226bebaab5344501c1d78b74907cc8e60647b1d7 (patch) | |
tree | 94560b2409f58de30bf47114514854577fcb0e63 | |
parent | add copying and license (diff) | |
download | exec-as-226bebaab5344501c1d78b74907cc8e60647b1d7.tar.gz exec-as-226bebaab5344501c1d78b74907cc8e60647b1d7.tar.bz2 exec-as-226bebaab5344501c1d78b74907cc8e60647b1d7.tar.xz |
add readme
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | README | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +A command that lets you start another command with any argv[0]. + + +`exec-as bash -bash` will run the first program in $PATH +named bash, and set argv[0] to -bash (making it a login +shell.) You can add addition argument as needed. + + +Note that to actually exec rather than then fork–exec:ing +you need to type `exec exec-as` instead of `exec-as`, as +the shell would otherwise fork first. + |