I want to know the current home directory on a Macintosh running Mavericks.
I'm using in an .ulp
system("pwd > zzzTempFile");
but unfortunately it does not create the zzzTempFile. Running the same command in the Terminal works fine.
What should I do to execute system commands and store the results in a (tempory) file?
Thanks for your time & help.
Karel