XQuery Function Documentation

Search and Browse

http://exist-db.org/xquery/process

java:org.exist.xquery.modules.process.ProcessModule

A module for executing external processes.

process:execute

process:execute($args as xs:string+, $options as element()?) as element()

Read more
Parameters:
$args+ a list of strings which signifies the external program file to be invoked and its arguments, if any
$options? an XML fragment defining optional parameters like working directory or the lines to send to the process via stdin. Format: <options><workingDir>workingDir</workingDir><environment><env name="name" value="value"/></environment><stdin><line>line</line></stdin></options>
Returns:
element() : the sequence of code points