Dashboard > Pulse v1.2 > ... > executable > arg
  Pulse v1.2 Log In | Sign Up   View a printable version of the current page.  
  arg
Added by Jason Sankey, last edited by Jason Sankey on Jan 29, 2007  (view change)
Labels: 
(None)

Pulse Manual Index

Arguments

The arg element is used to specify a command-line argument to pass to an executable command. Normally, arguments may be passed using the args attribute of executable element. However, the args attribute does not allow arguments containing spaces to be passed, thus the arg element is sometimes necessary.

Attributes

None.

Child Elements

The arg element takes the argument value as text content. Note that all whitespace is significant, even space between the tag and content.

Examples

Pass an argument with an embedded space to a build script:

<executable name="build" exe="bash" args="scripts/build-it.sh">
    <arg>argument containing spaces</arg>
</executable>

Zutubi wiki is Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.10 Build:#528 Nov 29, 2006) - Bug/feature request - Contact Administrators