Contents

init()

Returns an initialized process object with the environment of the current process.

Declaration

init()

Return Value

An initialized process object with the environment of the current process.

Discussion

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 run(_:arguments:terminationHandler:) to create and run the process.

See Also

Creating and Initializing