exec is a global function with 2 parameters: path and args.
path is path to the process to execute. It should work with either an absolute path or relative to the current working directory.
args defaults to null, in which case nothing will be passed to the child process. If args is a list then that list will be converted to a space-delimited string and passed on to the child process, otherwise args will simply be converted to a string a passed on.
The return value of the child process will be returned to the user.
exec
is a global function with 2 parameters:path
andargs
.path
is path to the process to execute. It should work with either an absolute path or relative to the current working directory.args
defaults to null, in which case nothing will be passed to the child process. Ifargs
is a list then that list will be converted to a space-delimited string and passed on to the child process, otherwiseargs
will simply be converted to a string a passed on.The return value of the child process will be returned to the user.