PIO_unix_pipe() is the eqivalent to perl5's pp_backtick(), i.e. run a
program and capture the program's output (or send something to the
program). I've hacked together a PIR script with some NCI code to use
this function - works fine - but the interface of PIO_unix_pipe() is a
bit clumsy to use:
* program arguments: currently not supported - use an Array PMC?
* return value: should probably be a ParrotIO PMC* instead of a ParrotIO*
* there is no opcode to use it, e.g.:
Pio = backtick Scmd, Pargv, Iflags
IFlags == 1 ... execvp (search path)
IFlags == 0 ... execv
or such.
Finally the code should probably be moved to config/gen/platform/.
Comments welcome
leo