Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Process Information
The NSProcessInfo
class provides methods to access process-wide information. An NSProcessInfo
object can return such information as the current process’s arguments, environment variables, host name, and process name.
The NSProcessInfo
class is available in Objective-C only. In Java, the NSSystem
class provides the same information as NSProcessInfo
as well as information obtained from function calls in Objective-C. The NSSystem
class object can return such additional information as the user’s name, full name, and home directory. The class also provides a method, log
, to send strings to stderr
.
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-04-04