+ launchedTaskWithExecutableURL:arguments:error:terminationHandler:
Creates and runs a task with a specified executable and arguments.
Availability 有効性
Technology
- (instancetype)init;
An initialized process object with the environment of the current process.
If you need to modify the environment of a process, use alloc and init, and then set up the environment before launching the new process. Otherwise, just use the class method launched
to create and run the process.
+ launchedTaskWithExecutableURL:arguments:error:terminationHandler: