[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSTask: launchpath
From: |
Riccardo Mottola |
Subject: |
NSTask: launchpath |
Date: |
Sun, 09 Dec 2012 18:15:19 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20100101 Firefox/17.0 SeaMonkey/2.14.1 |
Hi,
while comparing code behavour between Cocoa and GNUstep I noticed that
gnustep is capable of just esecuting a task with the executable. E.g. I
can say "diff" as launchpath (which resides in /usr/bin/diff) and NSTask
will execute on GNUstep, but not on Cocoa. On cocoa I need to specify
"/usr/bin/diff". The executable is in a standard place.
Which behaviour is correct? I read the documentation and it says :
/path/
The path to the executable.
Which leads to think that the Apple behaviour is consistent, since it
implies the whole path.
What do you think?
Riccardo
- NSTask: launchpath,
Riccardo Mottola <=