Close connection to a spawned process. | |
disconnect | Disconnect forked process from terminal. |
exp_continue | Continue execution during expect command. |
expect | Match patterns and perform actions based on process output. |
expect_after | Match patterns and specify actions to perform after expect command pattern matching. |
expect_background | Match patterns and specify actions to perform outside of expect command. |
expect_before | Match patterns and specify actions to perform before expect command pattern matching. |
expect_tty | Similar to expect, but reads from /dev/tty. |
expect_user | Similar to expect, but reads from standard input. |
inter_return | Causes an interact or interpreter command to perform a return in its caller. |
interact | Transfer control of a process to the user. |
interpreter | Connect user to the Tcl interpreter. |
overlay | |
send | Send a string to a spawned process. |
send_error | Send a string to standard error output. |
send_log | Send a string to the log file. |
send_tty | Send a string to /dev/tty. |
send_user | Send a string to standard output. |
spawn | Create a new spawned process. |
wait | Wait for a spawned process to terminate. |
debug | Start, stop, or return status of the debugger. |
exit | Cause Expect to exit. |
exp_getpid | Return current process ID. |
exp_internal | Enable, disable, or log diagnostic output. |
exp_open | Convert spawn ID to Tcl file descriptor. |
exp_pid | Return process ID for spawned process. |
expect_version | Return, generate an error, or exit based on Expect version. |
fork | Create a new process. |
log_file | Start or stop logging of session to a file. |
log_user | Start or stop logging of spawned process to standard output. |
match_max | Set or return size of expect buffer. |
parity | Set or return parity generation setting. |
remove_nulls | Set or return null character setting. |
sleep | Delay execution. |
strace | Trace statement execution. |
stty | Change terminal mode. |
system | Execute shell command. |
timestamp | Return a timestamp. |
trap | Set or return commands to be executed on receipt of a signal. |
To reduce the likelihood of name conflicts with other Tcl
extensions, most Expect commands have synonyms that are prefixed with
exp
_.
exp_close | Synonym for close |
exp_debug | Synonym for debug |
exp_disconnect | Synonym for disconnect |
exp_exit | Synonym for exit |
exp_fork | Synonym for fork |
exp_inter_return | Synonym for inter_return |
exp_interact | Synonym for interact |
exp_interpreter | Synonym for interpreter |
exp_log_file | Synonym for log_file |
exp_log_user | Synonym for log_user |
exp_match_max | Synonym for match_max |
exp_overlay | Synonym for overlay |
exp_ parity | Synonym for parity |
exp_remove_nulls | Synonym for remove_nulls |
exp_send | Synonym for send |
exp_send_error | Synonym for send_error |
exp_send_log | Synonym for send_log |
exp_send_tty | Synonym for send_tty |
exp_send_user | Synonym for send_user |
exp_sleep | Synonym for sleep |
exp_spawn | Synonym for spawn |
exp_strace | Synonym for strace |
exp_stty | Synonym for stty |
exp_system | Synonym for system |
exp_timestamp | Synonym for timestamp |
exp_trap | Synonym for trap |
exp_version | Synonym for expect_version |
exp_wait | Synonym for wait |