|
| [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.
| References: | |
| >Re: Current Directory of a Process (From: Robert Sandilands <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.