Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Topic
Prev Next

Run Script

These sections describe how to create a command for running your executable code.

Access

On the Execution Analyzer window, either:

  • Locate and double-click on the required script and select the 'Run' page    or
  • Click on in the window Toolbar and select the 'Run' page

Ribbon

Execute > Analyze > Analyzer Scripts

Context Menu

Project Browser | Right-click on Package | Execution Analyzer

Keyboard Shortcuts

Shift+F12

Aspects

Topic

Detail

See also

Command

This is the command that is executed when you select the 'Execute > Run > Start' ribbon option; at its simplest, the script would contain the location and name of the file to be run.

Example

These two examples show scripts configured to run a .Net and a Java application in Enterprise Architect.

.Net:

     C:\benchmark\cpp\example_net_1\release\example.exe

Java:

     customer

The command listed in this field is executed as if from the command prompt; as a result, if the executable path or any arguments contain spaces, they must be enclosed by quotes.

Notes

  • Enterprise Architect provides the ability to start your application normally OR with debugging from the same script; the 'Analyzer' menu has separate options for starting a normal run and a debug run