| Did you know ... | Search Documentation: |
| process->initialise |
->open.
The first argument is used to set process<-name.
A vector created from the remaining arguments is stored in process<-arguments.
Note that the command, nor the arguments are interpreted (like the Unix shell does). The call
new(P, process('awk -f script.awk')).
will search for a file names awk -f script.awk, which of
course it can't find. Instead, use
new(P, process(awk, '-f', 'script.awk')).
or
new(P, process('/bin/sh', '-c', 'awk -f script.awk')).
->open -name