diff options
| author | Shulhan <ms@kilabit.info> | 2023-12-22 16:04:54 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-12-22 16:05:24 +0700 |
| commit | f03c271e19f4b417a21515048fd026ddb5dff47e (patch) | |
| tree | 37b2a70caecb17c14a89713a25e46aadc66ce128 /_example/localhost | |
| parent | 9b3597f1aaf886e5489b230ae428b2692f9d6f56 (diff) | |
| download | awwan-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')
| -rw-r--r-- | _example/localhost/test.aww | 3 |
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 |
