Name

exp_open

exp_open [-leaveopen] [-i spawn_id]

Return a Tcl file identifier corresponding to the process opened with spawn ID spawn_id (or the current spawn ID, if the -i option is not used).

Normally the spawn ID should no longer be used. With the -leaveopen option, it is left open for access using Expect commands.

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.