September 2009
Intermediate to advanced
816 pages
19h 38m
English
Tcl provides several commands for dealing with processes. You can create new processes with the exec command, or you can create new processes with open and then use file I/O commands to communicate with them. Tcl also supports interprocess communication via TCP/IP sockets. You can access process identifiers with the pid command. You can read and write environment variables using the env variable, and you can terminate the current process with the exit command.
This chapter discusses the following commands related to process control and interprocess communication:
• exec ?-keepnewline? ?-ignorestderr? ?--? arg ?arg ...?
Executes the command pipeline specified ...
Read now
Unlock full access