Uninstallation that contains a KeyboardInterrupt
Published: June 15, 2023 - 09:28
Hello everyone,
We're running Ubuntu 2.4 with an enterprise license.
I'm having trouble uninstalling a program.
It sends a Ctrl+C error during uninstallation... which isn't a problem when done manually.
But when we put all that into a `def uninstall()` function, we get a `KeyboardInterrupt` error.
How can we accept the error, like with `accept_returncodes=[ ]`?
Thanks,
Alban
We're running Ubuntu 2.4 with an enterprise license.
I'm having trouble uninstalling a program.
It sends a Ctrl+C error during uninstallation... which isn't a problem when done manually.
But when we put all that into a `def uninstall()` function, we get a `KeyboardInterrupt` error.
How can we accept the error, like with `accept_returncodes=[ ]`?
Thanks,
Alban