If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I can get the "command" of an active process using `ps'
But I'd like to know if there is a Obj-C method something like "pathTo: activeProcess". I'm not too exited about using NSTask and `ps' because what if the path has "space" character, it's not very nice way of getting the path [because the arguments are there also...]
That only works for GUI applications which have established a connection to the windowserver. For apps which are still launching, or for CLI apps (which is what VEGAN wants, according to this thread title), you'll have to use something lower-level.