|-
| '''Summary'''
|Executes the specified command in a separate process and returns the result as string.<br/>If the command results in an error, an XQuery exception will be thrown. Its error code will consist of the letters {{Mono|PROC}} and four digits with the command’s exit code.<br/>Additional command arguments may be specified via {{Mono|$args}}.<br/>The result can be explicitly converted to a specified {{Mono|$encoding}}. If no encoding is specified, the system’s default encoding is used.
|-
|'''Errors'''
|'''[[#Errors|BXPRnnnn]]''': If the command results in an error, an XQuery error will be raised. Its code will consist of the letters {{Mono|BXPR}} and four digits with the command’s exit code.<br/>'''[[#Errors|BXPR9999]]''' is raised if the specified encoding does not exist or is not supported.
|-
| '''Examples'''