dotnet-run command
This commit is contained in:
parent
cfb5a1836e
commit
3ce7a84a04
12 changed files with 386 additions and 15 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue