Was it better than expect? (there&#x27;s a windows port: <a href="http:&#x2F;&#x2F;docs.activestate.com&#x2F;activetcl&#x2F;8.4&#x2F;expect4win&#x2F;" rel="nofollow">http:&#x2F;&#x2F;docs.activestate.com&#x2F;activetcl&#x2F;8.4&#x2F;expect4win&#x2F;</a> )