dotnet-run command

This commit is contained in:
Andrew Stanton-Nurse 2015-10-30 15:40:13 -07:00
parent cfb5a1836e
commit 3ce7a84a04
12 changed files with 386 additions and 15 deletions

View file

@ -156,6 +156,12 @@ namespace Microsoft.DotNet.Cli.Utils
_stdErrCapture?.GetStringBuilder()?.ToString());
}
public Command EnvironmentVariable(string name, string value)
{
_process.StartInfo.Environment.Add(name, value);
return this;
}
public Command CaptureStdOut()
{
ThrowIfRunning();