Name

p:exec — The standard p:exec step.

Synopsis

<p:declare-step type="p:exec">
     <p:input port="source" primary="true" sequence="true"/>
     <p:output port="result" primary="true"/>
     <p:output port="errors"/>
     <p:output port="exit-status"/>
     <p:option name="command" required="true"/>                    <!-- string -->
     <p:option name="args" select="''"/>                           <!-- string -->
     <p:option name="cwd"/>                                        <!-- string -->
     <p:option name="source-is-xml" select="'true'"/>              <!-- boolean -->
     <p:option name="result-is-xml" select="'true'"/>              <!-- boolean -->
     <p:option name="wrap-result-lines" select="'false'"/>         <!-- boolean -->
     <p:option name="errors-is-xml" select="'false'"/>             <!-- boolean -->
     <p:option name="wrap-error-lines" select="'false'"/>          <!-- boolean -->
     <p:option name="path-separator"/>                             <!-- string -->
     <p:option name="failure-threshold"/>                          <!-- integer -->
     <p:option name="arg-separator" select="' '"/>                 <!-- string -->
     <p:option name="cx:show-stderr" select="'true'"/>             <!-- boolean -->
     <p:option name="byte-order-mark"/>                            <!-- boolean -->
     <p:option name="cdata-section-elements" select="''"/>         <!-- ListOfQNames -->
     <p:option name="doctype-public"/>                             <!-- string -->
     <p:option name="doctype-system"/>                             <!-- anyURI -->
     <p:option name="encoding"/>                                   <!-- string -->
     <p:option name="escape-uri-attributes" select="'false'"/>     <!-- boolean -->
     <p:option name="include-content-type" select="'true'"/>       <!-- boolean -->
     <p:option name="indent" select="'false'"/>                    <!-- boolean -->
     <p:option name="media-type"/>                                 <!-- string -->
     <p:option name="method" select="'xml'"/>                      <!-- QName -->
     <p:option name="normalization-form" select="'none'"/>         <!-- NormalizationForm -->
     <p:option name="omit-xml-declaration" select="'true'"/>       <!-- boolean -->
     <p:option name="standalone" select="'omit'"/>                 <!-- "true" | "false" | "omit" -->
     <p:option name="undeclare-prefixes"/>                         <!-- boolean -->
     <p:option name="version" select="'1.0'"/>                     <!-- string -->
</p:declare-step>

Description

TBD.

Extensions

XML Calabash implements an extension to the p:exec step.

The cx:show-stderr extension attribute controls whether or not process output to STDERR is displayed as the process runs.

If errors-is-xml is true, this extension attribute is ignored.