SPAWN

Execute a specific command and pass optional arguments to it.

Syntax

SPAWN [/WAIT] command [arguments]

Parameters

/WAIT

The debugger waits for the issued command to be finished. By default, the debugger continues working, that is, it already accepts the next command while the issued command command is still being executed.

command

The command to be executed.

arguments

The arguments to be passed to the command.

Description

This command executes the specified command and passes optional arguments to it. Reserved words must be enclosed in double quotes "". Arguments with non-alphanumeric characters except “+” and “-” must also be enclosed in double quotes. If the argument command or arguments consists of a macro name or a debugger variable not protected by double quotes, the macro is expanded or the value of the debugger variable is used.

Example

SPAWN  "notepad.exe c:/tmp/wlog.log"

The notepad-editor appears displaying the file wlog.log.

For more complete information about compiler optimizations, see our Optimization Notice.