Comment Comment by adunsmoor 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.http://www.tcl.tk/man/tcl/tutorial/Tcl26.html parent adunsmoor 14 years ago
You can also use Tcl's open command with a pipe to do back and forth communication with a subprocess.
http://www.tcl.tk/man/tcl/tutorial/Tcl26.html