aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-03 17:27:21 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-03 17:27:21 +0200
commit226bebaab5344501c1d78b74907cc8e60647b1d7 (patch)
tree94560b2409f58de30bf47114514854577fcb0e63 /README
parentadd copying and license (diff)
downloadexec-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>
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..692ac67
--- /dev/null
+++ b/README
@@ -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.
+