es-shell icon indicating copy to clipboard operation
es-shell copied to clipboard

occasional 'wait: no child processes' on SIGINT

Open wryun opened this issue 13 years ago • 2 comments

http://wryun.github.io/es-shell/mail-archive/msg01026.html

easy way to reproduce (~25%?) is to create a self-referential file:

#!/usr/bin/env es
./a

related (?): seems to miss a Ctrl-C occasionally as well.

rc changelog suggests they rewrote signal handling code. Worth a look.

wryun avatar Aug 22 '12 05:08 wryun

Actually, nothing to do with self-referential file. Even a Ctrl-C on a sleep 1 will cause this.

wryun avatar Nov 23 '14 01:11 wryun

Why didn't I read the mailing list comment before doing that. Oops. Clearly some sort of race condition that I'm too slow (ha ha) to think about at the moment.

wryun avatar Nov 23 '14 03:11 wryun