exec - ObjectVision/GeoDMS GitHub Wiki

File, Folder and Read functions exec(ute)

syntax

  • exec(command)

Note: this function is withdrawn since GeoDms 18.0.0. Use the exec_ec function and check its resulting error code at the point of usage of the result that the command is supposed to generate.

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

example

container calc := exec('calc.exe');

result: runs the Windows calculator

see also

⚠️ **GitHub.com Fallback** ⚠️