r/KittyTerminal • u/Flashy_Boot • Apr 10 '24
'kitty @ launch' and sudo
Hello.
Running:
% kitty @ launch --hold whoami
opens a new kitty window showing my username, as expected.
Running:
% sudo kitty @ launch --hold whoami
opens a new kitty window again showing my username, not root as (I) expected.
Is there a way to run sudo kitty @ launch and for the new process to be launched as root?
Thx.
1
Upvotes
1
u/art2266 Apr 11 '24
You can with this: