Environment Variables

The following environment variables are used by the Expect program:

DOTDIR

Directory in which to look for the user-specific startup file .expect.rc. The default is the user’s home directory.

EXPECT_DEBUG_INIT

Initialization command to be executed by the debugger on startup.

EXPECT_PROMPT

By convention, used by some applications to specify a regular expression that matches the end of the user’s login prompt.

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.