Name

close

close [-slave] [-onexec 0|1] [-i spawn_id]

Close the connection to a spawned process, by default the current process.

Options

-slave

Close the slave pty associated with the spawn ID.

-onexec 0|1

With a 0 argument, the spawn ID will be left open in any new processes. If 1, the ID will be closed (the default).

-i spawn_id

Specify the spawn ID of the process to close.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.