<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Expect on My_blog</title><link>https://dsduyopg-github-io.pages.dev/tags/expect/</link><description>Recent content in Expect on My_blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Wed, 25 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://dsduyopg-github-io.pages.dev/tags/expect/index.xml" rel="self" type="application/rss+xml"/><item><title>在 shell 里嵌 expect，脚本一跑就闪退——一次踩坑复盘</title><link>https://dsduyopg-github-io.pages.dev/%E4%B8%93%E6%A0%8F/ai%E6%95%B4%E7%90%86%E7%9A%84%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E8%AE%B0%E5%BD%95/expect-nested-flash-exit/</link><pubDate>Wed, 25 Nov 2026 00:00:00 +0000</pubDate><guid>https://dsduyopg-github-io.pages.dev/%E4%B8%93%E6%A0%8F/ai%E6%95%B4%E7%90%86%E7%9A%84%E6%96%87%E4%BB%B6%E4%BB%A5%E5%8F%8A%E8%AE%B0%E5%BD%95/expect-nested-flash-exit/</guid><description>把 expect 用定界符塞进 bash 脚本，切用户时脚本一闪就退回原提示符。问题不在 expect，在标准输入和伪终端，拆成两个文件才治本。</description></item></channel></rss>