XQuery/Execute External Process

= Motivation = You need to execute an external process such as shell command.

= Execute Process Command =

process:execute($command as xs:string, $options as node) as item*

= Example of Options =

There are currently only two options documented. The working directory and the value of the standard input:

= Sample Program =

Sample Output
Here is an example of the git "ls" command being run without any options. Note that the default is the EXIST_HOME directory.