Changes

Jump to navigation Jump to search
356 bytes added ,  18:15, 29 November 2016
==proc:system==
{{Mark|Updated with Version 8.6:}} third argument replaced with options addedargument.
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|proc:system|$cmd as xs:string|xs:string}}<br/>{{Func|proc:system|$cmd as xs:string, $args as xs:string*|xs:string}}<br/>{{Func|proc:system|$cmd as xs:string, $args as xs:string*, $encoding options as map(xs:string, xs:string)|xs:string}}<br/>
|-
| '''Summary'''
|Executes the specified command in a separate process and returns the result as string.<br/>{{Code|$cmd}} is the name of the command. Arguments , arguments to the command may be specified via {{Code|$args}}.<br/>The result can be explicitly converted to a specified {{Code|$options}} parameter contains process options:* {{Code|$encoding}}: convert result to the specified encoding. If no encoding is specifiedsupplied, the system’s default encoding is used.* {{Code|timeout}}: query execution will be interrupted after the specified number of seconds.
|-
|'''Errors'''
==proc:execute==
{{Mark|Updated with Version 8.6:}} third argument replaced with options addedargument.
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|proc:execute|$cmd as xs:string|element(result)}}<br/>{{Func|proc:execute|$cmd as xs:string, $args as xs:string*|element(result)}}<br/>{{Func|proc:execute|$cmd as xs:string, $args as xs:string*, $encoding options as map(xs:string, xs:string)|element(result)}}
|-
| '''Summary'''
|Executes the specified command in a separate process and returns the result as element.<br/>{{Code|$cmd}} is the name of the command. Arguments , and arguments to the command may be specified via {{Code|$args}}.<br/>The result can be explicitly converted to a specified {{Code|$options}} parameter contains process options:* {{Code|$encoding}}: convert result to the specified encoding. If no encoding is specifiedsupplied, the system’s default encoding is used.<br/>* {{Code|timeout}}: query execution will be interrupted after the specified number of seconds.A result has the following structure:<br/>
<pre class="brush:xml">
<result>
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu