New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Means to say interrupt and execute new command. #29
Comments
Ahh, that's a cool idea! |
In many scenarios we might need the user to run the few commands with doing |
Sorry for the delay on this. Your comment prompted a spark on how it can be implemented. This is being tested now. The syntax will be:
It will execute Ctrl+C before the main command |
that should be cool @BenHall thanks :) |
This is now live. |
awesome! thanks :) |
@BenHall Is there any way this could be adapted to just run the Ctrl+C? So basically just run Ctrl+C and not execute a command after Ctrl+C. Or is there a way to only run Ctrl+C in katacoda that I'm not aware of? |
No, but you can do some workarounds, such as
|
…amos Thoth Thamos CLI
Am starting to use
oc
commands such asoc logs --follow
andoc get --watch
. These commands will not exit unless you do CTRL-C in the terminal window, which you have to tell users to do explicitly. It may be useful to be able to say for a subsequent command:This would have the effect of sending a SIGINT signal into the interactive terminal session to kill of an existing running command and once that has exited then run the command.
You would only use this where you know you are following up a command which would otherwise keeping running unless interrupted.
The text was updated successfully, but these errors were encountered: