| Online Eiffel Documentation

EiffelStudio

# Run with arguments

While working on a project, you may want to launch it with one or more arguments.

There are two ways to specify arguments for a program from EiffelStudio:

- From the Debug, Debugging Options menu.
- By right-clicking any of the buttons on the debugging toolbar.

## Using the Argument Dialog

The dialog allows you to change the current working directory of the system, and to specify arguments to be passed to the system at execution time.

To add a new argument simply type the argument in the Current Arguments text area. You can store this argument in the list by pressing the Add button.

To use a stored argument select it in the list.

To remove an existing argument select the argument you wish to remove from the list and click Remove.

Once the appropriate argument is selected then the system can be run with this argument using the Run or Run & Close button. The latter runs the system and also closes the argument dialog. To run without any arguments uncheck the Enable Arguments check box.