aboutsummaryrefslogtreecommitdiff
path: root/_example/localhost/test.aww
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-22 16:04:54 +0700
committerShulhan <ms@kilabit.info>2023-12-22 16:05:24 +0700
commitf03c271e19f4b417a21515048fd026ddb5dff47e (patch)
tree37b2a70caecb17c14a89713a25e46aadc66ce128 /_example/localhost/test.aww
parent9b3597f1aaf886e5489b230ae428b2692f9d6f56 (diff)
downloadawwan-f03c271e19f4b417a21515048fd026ddb5dff47e.tar.xz
all: support cancellation when running command using SSH client
This changes require us to replace golang.org/x/crypto with our fork, since the [ssh.Session.Run] with context is not available yet in upstream. Implements: https://todo.sr.ht/~shulhan/awwan/9
Diffstat (limited to '_example/localhost/test.aww')
-rw-r--r--_example/localhost/test.aww3
1 files changed, 3 insertions, 0 deletions
diff --git a/_example/localhost/test.aww b/_example/localhost/test.aww
index 6773668..ff4019f 100644
--- a/_example/localhost/test.aww
+++ b/_example/localhost/test.aww
@@ -6,3 +6,6 @@ ls -al ~/ | grep .ssh
echo "test" > /tmp/awwan.test
cat /tmp/awwan.test
# test
+
+## Test cancellation.
+sleep 300