aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.
+