|
From: Jianshi H. <jia...@gm...> - 2011-02-04 09:39:15
|
Hi,
It seems processes created by run-program in SBCL won't receive
signals (like SIGINT) as if they are background processes. Is it
intended? ( I think it's the job of the terminal to send sigint to all
foreground processes rather than SBCL's responsibility)
for example, the following case is a little bit annoying.
(sb-ext:run-program "sleep" '("3600") :wait t :search t)
and break it by C-c, the process "sleep" still exists.
For delivered binaries it's probably ok since I usually need to roll
my own process control for proper cleanup, but it's not quit
convenient in development.
Cheers,
--
黄 澗石 (Jianshi Huang)
|