Hello, this is my first post so please be patient with me.
I am quite new to java and I am trying to get the output of a whoami
command into a String variable.
normally I use
Process p = Runtime.getRuntime().exec("whoami");
but with the whoami command all I get is