$() multimethod
Methods
- $()(c:Command) Source: stdlib.ngs:4683
Run a process, described by the command c
- $()(cp:CommandsPipeline) Source: stdlib.ngs:4813
Run external processes described by the commands pipeline. Waits for the commands to finish unless "&" is specified. Automatically called by NGS for syntax
$(my_prog) , $(some | programs)
Returns
ProcessExample
if $(test -f /myfile) { ... } # or p = $(node main.js serve &) YOUR_TESTS_OF_NODE_SERVER_HERE p.kill()
- $()(c:Command) Source: stdlib.ngs:4923
Enables "nofail" command prefix. Example
test $(nofail ./NONE).exit_code.echo() # Would cause exception without "nofail"