C/C++ Project Properties Dialog Box: Run

See Also 

The Run panel lets you specify properties that are used when you run your project in the IDE.

Run Command. Enter a command to be executed when you run the project. The IDE runs the command as /bin/sh -c "run-command" which enables you to use any shell syntax including redirection and pipes. Type the command in the Run Command field the same way you would run it from the command line. For example, you could type my-script -opt1 -opt2 to run a script and specify two options, or mycommand > output.log to run your command and send the output to a logfile. The Run Command list maintains history of previous entries so you can go back to the default value or select among several different commands you have entered.

Run Directory. Enter the path to the directory where the project should run. Normally this is the same as the project directory.

Environment. Enter any environment variables and their values if the project requires them to run.

Build First. Select the checkbox if you want the project to build before it runs.

Console Type. The output generated when you run the project goes to the console. You can specify what type of console to use.

External Terminal Type. This option is enabled if you set Console Type to External Terminal. The terminal choices offered in the list vary according to the environment where the IDE is running.

See also
  C/C++ Project Properties Dialog Box:
      General
      Build
      Compiler
      Linker
      Packaging
      Make
      Debug
      Required Projects
      Code Assistance
      Formatting

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.