aboutsummaryrefslogtreecommitdiffstats
path: root/src/doexec.1
diff options
context:
space:
mode:
Diffstat (limited to 'src/doexec.1')
-rw-r--r--src/doexec.112
1 files changed, 12 insertions, 0 deletions
diff --git a/src/doexec.1 b/src/doexec.1
new file mode 100644
index 00000000..59b8b91e
--- /dev/null
+++ b/src/doexec.1
@@ -0,0 +1,12 @@
+.TH DOEXEC 1 "Red Hat Software" "RHS" \" -*- nroff -*-
+.SH NAME
+doexec \- run an executable with an arbitrary argv[0]
+.SH SYNOPSIS
+.B doexec
+\fI/path/to/executable\fP \fIargv[0]\fP [\fIargv[1-n]\fP]
+.SH DESCRIPTION
+.B doexec
+simply runs the executable with the argv list provided. It allows you
+to specify an argv[0] other than the name of the executable.
+.SH OPTIONS
+All options are passed in the argv list to the executable being run.