Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 617 Bytes

File metadata and controls

41 lines (33 loc) · 617 Bytes

Execution Options :

  • via shell binary
  • via Java Exec (ie parsing and passing the args to Java Exec)

Shell supported:

The doc must have a unit with the following format.

Bash

The code is executed with bash -c (default)

<unit envHOME="Whatever">
    <file lang path/to/File>
    </file>
    <code bash>
       echo $HOME
    </code>
    <console>
        Whatever
    </console>
</unit>

Dos

<unit envHOME="Whatever">
    <file lang path/to/File>
    </file>
    <code dos>
        echo ^
          %HOME%
    </code>
    <console>
        Whatever
    </console>
</unit>