Instance Property

currentDirectoryPath

Sets the current directory for the receiver.

Declaration

@property(copy) NSString *currentDirectoryPath;

Parameters

path

The current directory for the task.

Discussion

If this method isn’t used, the current directory is inherited from the process that created the receiver. This method raises an NSInvalidArgumentException if the receiver has already been launched.

See Also

Returning Task Information

arguments

Sets the command arguments that should be used to launch the executable.

environment

Sets the environment for the receiver.

launchPath

Sets the receiver’s executable.

Deprecated
processIdentifier

Returns the receiver’s process identifier.

standardError

Sets the standard error for the receiver.

standardInput

Sets the standard input for the receiver.

standardOutput

Sets the standard output for the receiver.