From 11c7046c5064fac733b45766d76b509d84aa2e8e Mon Sep 17 00:00:00 2001 From: HAYAMA_Kaoru Date: Thu, 5 Dec 2024 12:52:14 +0900 Subject: [PATCH] examle.lsp: when password is invalid, send Ctrl-C and wait process terminating --- example.lsp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example.lsp b/example.lsp index 7bae635..4d1601a 100644 --- a/example.lsp +++ b/example.lsp @@ -30,6 +30,9 @@ (expect* ("Permission denied" + (expect "password:") + (send #\U3) + (wait sshpid) (return-from main nil) ) ("$ "))