DualRoleTask 1.0d1 Level of Complexity: Easy Main Classes Used: NSTask This sample demonstrates the use of NSTask to sub-launch another process. In this case, the process launched is another copy of the application binary, which detects that it's being sublaunched and alters its behavior appropriately.