September 2009
Intermediate to advanced
816 pages
19h 38m
English
Tcl provides a variety of functions to deal with underlying operating system services. This layer is platform-independent, except where it makes sense to give the user access to lower-level options that may not be present on all platforms.
This chapter discusses the following functions for accessing operating system services:
• Tcl_Channel Tcl_OpenCommandChannel(Tcl_Interp *interp, int argc, CONST char *argv, int flags)
Opens a command channel using argv as the command and its arguments.
• Tcl_DetachPids(int numPids, int *pidPtr)
Gives Tcl responsibility for numPids child processes that are passed in via the pidPtr array.
• Tcl_ReapDetachedProcs()
Invokes the ...
Read now
Unlock full access