MosProcess
The MosProcess object contains methods used to start an external program and get the result of its work.
Please note that calling any function of the MosProcess object will immediately put the script module into demo mode if it is not licensed
Methods
Name
Description
run(fileName, args)
Runs an external program without waiting for its execution. Accepts path to the executable file (fileName) and arguments of the executable file launch (args) as arguments.
runAndWait(fileName, args, timeout)
Runs an external program and returns the result of its execution as MosProcessExecuteResult. Accepts path to the executable file (fileName), arguments of the executable file launch (args) and program execution timeout in milliseconds (timeout) as arguments.
Last updated