Loading...
Searching...
No Matches
Limits on external programs that are allowed to be executed.
More...
|
int | value () |
| Get the int value of this enumerated ExecMode.
|
|
Limits on external programs that are allowed to be executed.
◆ lookup()
static EExecMode com.gams.api.GAMSOptions.EExecMode.lookup |
( |
int |
val | ) |
|
|
static |
Lookup all execModes.
- Parameters
-
val | an int value to lookup |
- Returns
- the enumerated ExecMode that has the specified value, or UndefinedExecMode if the specified value is not found.
◆ value()
int com.gams.api.GAMSOptions.EExecMode.value |
( |
| ) |
|
Get the int value of this enumerated ExecMode.
- Returns
- the execMode value
◆ CallAndExecuteProhibited
com.gams.api.GAMSOptions.EExecMode.CallAndExecuteProhibited =(2) |
Embedded Code and all $call and execute commands are prohibited.
◆ EchoAndPutOnlyToWorkdir
com.gams.api.GAMSOptions.EExecMode.EchoAndPutOnlyToWorkdir =(3) |
$echo or put commands can only write to directories in or below the working or scratchdir
◆ EchoAndPutProhibited
com.gams.api.GAMSOptions.EExecMode.EchoAndPutProhibited =(4) |
$echo and put commands are not allowed
◆ EverythingAllowed
com.gams.api.GAMSOptions.EExecMode.EverythingAllowed =(0) |
◆ InteractiveShellsProhibited
com.gams.api.GAMSOptions.EExecMode.InteractiveShellsProhibited =(1) |
Interactive shells in $call and execute commands are prohibited.
◆ UndefinedExecMode
com.gams.api.GAMSOptions.EExecMode.UndefinedExecMode =(5) |