I want to get the directory location of the process file.
For example, in user space, the TextEdit, the pid is 234
localhost:~ macuser$ ps -p 234
PID TTY TIME CMD
234 ?? 0:00.19 /Applications/TextEdit.app/Contents/MacOS/TextEdit -psn_0_94231
I want to get this "/Applications/TextEdit.app/Contents/MacOS/TextEdit" in kext.
At 2011-01-12 15:54:33,"Michael Smith" <email@hidden> wrote:
On Jan 11, 2011, at 6:15 PM, searockcliff wrote:
Hello,
I have a process ID, I need to get the full path of the process in kext.
I know there are methods in user space application, like sysctl.
Are there also functions to achieve this in kext?
Processes don't have paths.
What are you trying to do?
= Mike
--
Excellence in any department can be attained only by the labor of a lifetime; it is not to be purchased at a lesser price -- Samuel Johnson