What do you mean?
exec cat /etc/passwd | grep root
works just fine.You can also use Tcl's open command with a pipe to do back and forth communication with a subprocess.
exec cat /etc/passwd | grep root
works just fine.You can also use Tcl's open command with a pipe to do back and forth communication with a subprocess.