VirtualBox

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)

vboxmanage-sigterm.patch (638 bytes ) - added by Cédric Cabessa 9 years ago.

Download all attachments as: .zip

Change History (4)

by Cédric Cabessa, 9 years ago

Attachment: vboxmanage-sigterm.patch added

comment:1 by Cédric Cabessa, 9 years ago

Moreover it would be nice to have a gracefull exit on kill on windows too

comment:2 by Frank Mehnert, 9 years ago

I agree. VBoxManage change in r59255. That change will be part of the next 5.0.x maintenance release.

comment:3 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in VBox 5.0.14.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette