You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experimenting with yaci-cli in native distribution (ie. not using docker), and ran into a couple of minor snags when it comes to signal handling:
it does not handle Ctrl + d EOF signal, which should terminate the interactive session
one needs to Ctrl + C twice in order to quit
it's not possible to interrupt download once it's started with Ctrl + C
$ uname -a
Darwin MacBook-Pro-21.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:19:22 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8112 arm64
yaci-cli version: 0.10.0-preview5
The text was updated successfully, but these errors were encountered:
We fixed a similar issue for sub-processes like Node, Ogmios, etc., in this PR: #96. So, for already running sub-processes, the process first kills them (if possible) before restarting.
But, for the main yaci-cli process, we still have some edge cases, as you mentioned.
1, 2: Let me try using a shutdown hook in Java. I think this should resolve the issue.
3: This is a known issue. We will fix it in the next release.
I can confirm that this also doesn't work as expected when you run devkit.sh (docker). One would expect the CTRL-D would exit the session. I am on a MacBook Pro.
I am experimenting with
yaci-cli
in native distribution (ie. not using docker), and ran into a couple of minor snags when it comes to signal handling:Ctrl + d
EOF signal, which should terminate the interactive sessionCtrl + C
twice in order to quitCtrl + C
yaci-cli
version: 0.10.0-preview5The text was updated successfully, but these errors were encountered: