Exec - ObjectVision/GeoDMS GitHub Wiki
File, Folder and Read functions exec(ute)
exec is not an operator of the GeoDMS: it does not appear in the operator registry, so an expression that calls it is an error.
syntax
- exec(command)
Use the exec_ec function instead, and check its resulting error code where the result that the command is supposed to generate is used.
definition
exec(command) executes the command argument.
If the results of the exec command (for instance a list of files to be imported) are used further in the process, use the exec_ec function to make sure the command is executed or an error code is generated.
applies to
- command with string value type
example
container calc := exec('calc.exe');
result: runs the Windows calculator