Review Request: Kill process when no cancel option exists for a cli tool
Raphael Kubo da Costa
rakuco at freebsd.org
Sun Sep 25 23:29:00 UTC 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102702/#review6816
-----------------------------------------------------------
kerfuffle/cliinterface.cpp
<http://git.reviewboard.kde.org/r/102702/#comment6077>
Small nit: could you add a comment here explaining that choices.count() < 5 means the program does not have a "Cancel" mode so we need to kill it manually?
- Raphael Kubo da Costa
On Sept. 25, 2011, 10:11 p.m., Theofilos Intzoglou wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102702/
> -----------------------------------------------------------
>
> (Updated Sept. 25, 2011, 10:11 p.m.)
>
>
> Review request for KDE Utils and Raphael Kubo da Costa.
>
>
> Description
> -------
>
> When extracting an archive and a file exists, we are presented with 4 different options, however some cli tools don't have the option to cancel the extraction. Until now as I can see the only option would be to just autoskip when pressing cancel. This led to different results than what was expected (cancel extraction completely).
>
> The patch attached adds a special response "KILL" that when is used from a plugin, the process is killed.
>
>
> Diffs
> -----
>
> kerfuffle/cliinterface.h 09729c3
> kerfuffle/cliinterface.cpp f187e1c
>
> Diff: http://git.reviewboard.kde.org/r/102702/diff/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Theofilos Intzoglou
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20110925/8a0e9b19/attachment-0001.html>
More information about the Kde-utils-devel
mailing list