Changeset 25811 in project


Ignore:
Timestamp:
01/14/12 20:58:41 (9 years ago)
Author:
felix winkelmann
Message:

updated shell page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/shell

    r22805 r25811  
    2929Similar to {{run}} but returns the return status of each command
    3030as multiple result values.
     31
     32=== capture
     33
     34<syntax>(capture COMMAND ...)</syntax>
     35
     36Similar to {{run}} but captures everything written by the subprocess
     37to stdout and returns the output as a string. In case the command fails,
     38an empty string is returned (there is currently no way to distinguish
     39between a failed command and one that produces no output).
    3140
    3241=== shell
     
    6978=== Version History
    7079
     80; 0.3 : added {capture}
    7181; 0.1 : initial version
    7282
Note: See TracChangeset for help on using the changeset viewer.