From: Jianshi H. <jia...@gm...> - 2010-11-30 06:27:23
|
Hi, I'm debugging a ssh remote command from SBCL. When I did (read-line (sb-ext:process-pty process)), and if it blocks, then there's no way for me to stop it (e.g. ctrl-c, kill -INT pid also doesn't work). What is the problem and is there anyway to fix it? Example code: (setf p (sb-ext:run-program "/usr/bin/ssh" '("-t" "remote-machine" "cat") :wait nil :pty t)) (read-line (sb-ext:process-pty p)) Cheers, -- Jianshi Huang |