Contents

Introduction to Interacting with the Operating System

Explains how Cocoa applications manage tasks and get information about hosts and processes.

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.

Next

Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-04-04