1

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:

Terminal screenshot

How can I get the process invoked by the NSTask's process?

1 Answers1

2

You may access to [task launchPath] and then analyze the string you get.

Manlio
  • 10,768
  • 9
  • 50
  • 79