Opened 9 years ago
Closed 9 years ago
#15008 closed enhancement (fixed)
vboxmanage should honnor SIGTERM
Reported by: | Cédric Cabessa | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.0.12 |
Keywords: | vboxmanage SIGTERM | Cc: | |
Guest type: | other | Host type: | Linux |
Description
For long operation (like clonevm) we may want to cancel the operation. Today this doable by sending the SIGINT signal on linux (ctrl+c). However when using vboxmanage in another application, it is standard to send a SIGTERM (for exemple, in Qt this is what QProcess:terminate() do).
But vboxmanage do not handle SIGTERM which result in a abrupt termination
In attachment a simple patch doing this.
Attachments (1)
Change History (4)
by , 9 years ago
Attachment: | vboxmanage-sigterm.patch added |
---|
comment:1 by , 9 years ago
comment:2 by , 9 years ago
I agree. VBoxManage change in r59255. That change will be part of the next 5.0.x maintenance release.
Moreover it would be nice to have a gracefull exit on kill on windows too