Running FlexPDE from the Command Line

<< Click to Display Table of Contents >>

Navigation:  User Guide >

Running FlexPDE from the Command Line

Previous pageReturn to chapter overviewNext page

When FlexPDE is run from a command line or as a subtask from another application, there are some command-line switches that can be used to control its behavior:

 

-R

Run the file which is named on the command line. Do not enter edit mode.

-V

View the file which is named on the command line.  Do not enter edit mode.

-X

Exit FlexPDE when the problem completes.

-M

Run in "minimized" mode (reduced to an icon).

-Q

Run "quietly".  Combines -R -X -M.

-S

Run "silently".  -Q with all error reports suppressed. Also, no icon should appear in the system taskbar.

-T

Set the default thread count. Append the number : -T6 will use six threads.

-L

License FlexPDE. For Internet Key, append A for activate, R for release, then serial number : -LA668668886. For local or network dongle, append D or N followed by dongle ID : -LD2-2428250.

-NC

Turn off consolidation of output.

-NM

Turn off automatic import of previous mesh.

-NI

Turn off loading and saving of preferences from .ini file.

 

For example, the command line

flexpde7  -R   problem

will load and run the script file "problem.pde".

 

Note : On the Mac, the actual executable code is located inside of an application "bundle", which is simply a directory hierarchy that is hidden from the user in graphics mode. The complete path to the executable would be "FlexPDE7.app/Contents/MacOS/flexpde7". See the Apple developer website for more information about application bundles.