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 named on the command line. Do not enter edit mode.
-V
View the file named on the command line. Do not enter edit mode.
-D
Import the DXF file named on the command line. Generate the PDE file and enter edit mode.
Use -R also for automatic run.
-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.