I would like to get the unix pwd path (e.g.: /home/harrypotter/Roxfort) in a root macro (to be run in cint) and put it into a char * or string.
Maybe I wasn’t looking deeply enough but I just couldn’t find how to do that.
What I found was only gSystem->Exec(“pwd”) but I couldn’t set it any variable.
So, I would like to ask how it is working.