=Conventions=
{{Mark|Updated with Version 9.0:}}
All functions and errors in this module are assigned to the <code><nowiki>http://basex.org/modules/proc</nowiki></code> namespace, which is statically bound to the {{Code|proc}} prefix.<br/>
==proc:system==
{{Mark|Updated with Version 9.0:}} new {{Code|input}} option; revised error handling.
{| width='100%'
)
</pre>
* The following example returns "Command “Command not found" found” (unless {{Code|xyz}} is a valid command on the system):
<pre class="brush:xquery">
try {
proc:system('xyz')
} catch proc:* error { 'Command not found.: '|| $err:description
}
</pre>
==proc:fork==
{{Mark|Introduced with Version 9.0:}}
{| width='100%'
| '''Examples'''
|
* {{Code|proc:property('java.class.path')}} returns the full user class path.
* {{Code|map:merge(proc:property-names() ! map:entry(., proc:property(.)))}} returns a map with all system properties.
|}
=Errors=
{{Mark|Updated with Version 9.0:}}
{| class="wikitable" width="100%"