run subcommand for dbx: Run a program
Format
run [arguments] [<file | >file | 2>file | >>file | 2>file | >&file | >>&file]
Description
The run subcommand begins execution of the object file. The values specified with the arguments argument are passed as command-line arguments.
Options
- <file
- Redirects input so that input is received from file.
- >file
- Redirects output to file.
- 2>file
- Redirects standard error to file.
- >>file
- Appends redirected output to file.
- 2>>file
- Appends redirected standard error to file.
- >&file
- Redirects output and standard error to file.
- >>&file
- Appends output and standard error to file.
Usage notes
- The run subcommand can be run only while the dbx debug program is running.
- The run subcommand is not supported in GUI (socket) mode (-p).
Examples
To run the application with the arguments blue and 12,
enter:
run blue 12
Related information
The rerun subcommand.