Sending Messages To The Log
The send_log
command is similar to the send
command; however, send_log
writes to the log without writing to the standard output. It also writes to any file opened by exp_internal
. The log_user
command has no affect on send_log
.
send_log "Beginning transaction at [exec date]\n"
Get Exploring Expect 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.