Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Introduction to Interacting with the Operating System
This topic describes a variety of classes that give you access to some of the functionality of the operating system. With them, you can launch subprocesses, obtain your process’s environment variables, perform domain name lookups, locate the user’s home directory, and more.
Organization of This Document
This document contains the following articles:
Host Information discusses how to perform domain name lookups.
Process Information discusses the types of information you can obtain about the current process.
Task Management discusses how to launch subprocesses and communicate with them.
Signals discusses operating-system signals and their behavior in processes.
Creating and Launching an NSTask shows an example of using an
NSTask
object.Ending an NSTask discusses ways to detect when a task exits and how to terminate tasks before they are done.
Piping Data Between Tasks shows an example of how to move data from one task to another using pipes.
Limitations
Some classes are available for either Objective-C or Java, but not both. The functionality of those classes, though, are provided elsewhere in the other language.
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-04-04