again I have a win/osx related question though asking the second question within a couple of days really makes me feel stupid ;-)
I am trying to write some information into a new file on disk. It's working fine with windows but the command gives me an error message when trying it on a mac. Even the mel example from the help documentation doesn't work....
$exampleFileName = ( `internalVar -userWorkspaceDir` + "example.tmp" );
fwrite $fileId "Hello there\n";
Then Maya stares at me with:
// Warning: line 3: fopen: unable to open file "example.tmp" for mode "a". //
Sure, the file doesn't exist yet, but on windows it creates a new file if there is not the given one. So how can I make that happen on OSX?
Thanks for listening,