If I use an NSTask object which is launched, is it possible to get the process invoked by the task? For example, Terminal does this to show it in the title bar:
NSTask
How can I get the process invoked by the NSTask's process?
You may access to [task launchPath] and then analyze the string you get.
[task launchPath]