How to Execute Programs
EditRocket provides tools for executing programs for the following languages:
- Java
- Objective-C (Mac Only)
- PHP
- Perl
- Python
- Ruby
EditRocket executes programs by interfacing with the program language libraries. On Mac systems, all of the above languages libraries are pre-installed with the operating system. On Windows, many of the above may need to be installed manually. See the following for information on installing PHP, Perl, Python, and Ruby on windows: Articles.
To execute a program, select the tab that contains the program source code in EditRocket,
and then use the Tools menu to navigate to the language type of the program, for example, PHP.
Inside the language menu there is an "Execute Program" option. An example for PHP would be the following:
Tools -> PHP -> Execute Program
Selecting the Execute Program option will display a dialog that allows the user to specify the working directory to run the program and any arguments that should be passed to the program. Clicking the "Execute" button will display a window with any output returned by the program.