This page is designed for advanced users and describes how to use ExeOutput for PHP to create and compile applications (even silently) with command line switches (useful for daily and automated builds, for instance).
What is a Switch? #
All switches are specified with a forward slash (/) and may be followed by a value. Example: /C
If you are specifying files or folders with spaces, you must enclose them in quotation marks. Example: /U "My value" /C
Command Line Options to Manage Project Files #
You can specify project files for ExeOutput for PHP via the command line. When you launch ExeOutput for PHP manually (e.g., using the “Run” command from the Windows Start menu), you can pass parameters to the program.
The following command line opens a project file: EXO4PHP.EXE "C:\mywork\myproject\myproject.exop".
ExeOutput for PHP will open and read the project settings. You then only need to press the Compile button to create the application.
Available Switches #
/c: Forces ExeOutput for PHP to compile the EXE whose project file was specified./q: Forces ExeOutput for PHP to exit after a successful compilation./s: Forces ExeOutput for PHP to run silently (no progress bar).
You can combine these switches. For example, EXO4PHP.EXE "C:\mywork\myproject\myproject.exop" /c/q/s will force ExeOutput for PHP to compile the EXE silently and then exit.