Skip to content

__popen2__

builtin · libnexusinterp/corefcn/syscalls-proprietary.cc

: [in, out, pid] = __popen2__ (command, args)

Start command as a child process connected through two pipes.

args is a cell array of strings (or a single string) giving the arguments. Write to file id in to feed the child’s standard input, and read the child’s standard output from file id out. pid is the child’s process id.