``` process:execute($command as xs:string, $options as node()) as item()* ``` as per https://en.wikibooks.org/wiki/XQuery/Execute_External_Process This is not a standard function, of course, but this seems to be the commonest version of the function implemented in other systems.