|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I have seen that basically all file access does provide the full path except the Terminal.
To keep track of the current directory you just have to keep track of all SYS_chdir calls... But it is really ugly, but not as ugly as the solutions you mention.
If I could add a feature request wish for a future version of the kernel, I would like to see a variable somewhere that stores the current working directory on a per process basis.
|>Re: Current Directory of a Process (From: Robert Sandilands <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.