Changes

Jump to navigation Jump to search
151 bytes added ,  14:21, 21 November 2017
no edit summary
|-
|'''Errors'''
|{{Error|code....|#Error}} If the commands returns an exit code different to 0, an XQuery error will be raised. Its code will consist of the letters {{Code|code}} and four digits with the exit code. {{Code|code9999}} will be returned if the command cannot be runexecuted.<br/>{{Error|encoding|#Error}} the specified encoding does not exist or is not supported.<br/>{{Error|timeout|#Error}} the specified timeout was exceeded.
|-
| '''Examples'''
|-
| '''Summary'''
|Executes the specified command in a separate process and returns the result as element. {{Code|$cmd}} is the name of the command, and arguments to the command may be specified via {{Code|$args}}. The same {{Code|$options}} are allowed as for [[#proc:system|proc:system]]. The code {{Code|9999}} will be assigned if the command cannot be runexecuted.<br/>
A result has the following structure:
<pre class="brush:xml">
! width="110"|Code
|Description
|-
|{{Code|code...}}
|The result of a command call with an exit code different to 0.
|-
|{{Code|code9999}}
|A command could not be executed.
|-
|{{Code|encoding}}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu