ProcessSettingsExtensions.

UseWorkingDirectory(ProcessSettings, DirectoryPath) Method

Summary

Sets the working directory for the process to be started.
Namespace
Cake.Core
Containing Type
ProcessSettingsExtensions

Syntax

public static ProcessSettings UseWorkingDirectory(this ProcessSettings settings, DirectoryPath path)

Parameters

Name Type Description
settings ProcessSettings The process settings.
path DirectoryPath The working directory for the process to be started.

Return Value

Type Description
ProcessSettings The same ProcessSettings instance so that multiple calls can be chained.