$() multimethod

Methods

$()(p:Process) Source: stdlib.ngs:4984
Run a process
$()(cp:CommandsPipeline) Source: stdlib.ngs:5102
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

Process

Example

if $(test -f /myfile) { ... }
# or
p = $(node main.js serve &)
YOUR_TESTS_OF_NODE_SERVER_HERE
p.kill()