D12754: Fix when the name of a process called with sudo is not shown.

Caio Jordão Carvalho noreply at phabricator.kde.org
Sat May 12 15:59:15 UTC 2018


cjlcarvalho marked an inline comment as done.
cjlcarvalho added a comment.


  @hindenburg Well, I can search for the next argument that does not start with "-", but this makes another problem...
  
  Because some sudo options (like -u, -g or -h) need arguments that does not start with "-".
  
  Do you know some Qt native way to check if a name is a program? Or can I check the return code of "command -v PROCESS" or "which PROCESS" commands to check it?

REPOSITORY
  R319 Konsole

REVISION DETAIL
  https://phabricator.kde.org/D12754

To: cjlcarvalho, #konsole, hindenburg
Cc: konsole-devel, herrold, ngraham, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20180512/2f7585ae/attachment.html>


More information about the konsole-devel mailing list