> AFAIK, Desktop.RunAsRoot("whoami") and "xdg-su -c whoami" should do > exactly same thing. > However only "xdg-su -c whoami" works. > OK, now I understand the problem. Destop.RunAsRoot() uses internally Exec command, and so redirections doesn't work. Instead of Exec there should be Shell..? Benoit? Jussi