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
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.
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.