rerun subcommand for dbx: Begin running a program with the previous arguments

Format

rerun [arguments] [<file | >file | 2>file | >>file | 2>file | >&file | >>&file]

Description

The rerun subcommand begins execution of the object file. The values specified with the arguments argument are passed as command-line arguments. If the arguments argument is not specified, the arguments from the last run or rerun subcommand are reused.

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 rerun subcommand can be run only while the dbx debug program is running.
  • The rerun subcommand is not supported in GUI (socket) mode (-p).

Examples

To rerun the program with the previously entered arguments, enter:
rerun

Related information

The run subcommand.