when using this
[ [NSWorkspace sharedWorkspace] openFile:fileName withApplication:appName];
and file_name contains spaces
another application complains that it cannot open the file name
I have no source for another application
but when I run the same application with NSTask , it can correctly read the full path to the file
I tried to surround the file path with quotes, but that did not help
source share