操作系統(tǒng): windows xp
emacs版本: 23.0.0.1
演示代碼:
#include <stdio.h>
void main()
{
int* p = 0;
printf("before crash\n");
*p = 0; /*crash*/
}
在emacs的shell中運行上面的程序?qū)⒊霈F(xiàn)一個崩潰對話框, 但shell中沒有任何輸出.
如果直接在windows shell中執(zhí)行則可以看到輸出.
不知道這是不是emacs shell的一個BUG.