操作系統: windows xp
emacs版本: 23.0.0.1
演示代碼:
#include <stdio.h>

void main()
{
    
int* p = 0;
    printf(
"before crash\n");
    
*= 0/*crash*/
}
在emacs的shell中運行上面的程序將出現一個崩潰對話框, 但shell中沒有任何輸出.
如果直接在windows shell中執行則可以看到輸出.

不知道這是不是emacs shell的一個BUG.