Is it possible to preserve matched process output in expect interact? Consider the following expect script: