dotnet-installer/test/Microsoft.DotNet.Tools.Tests.Utilities/Commands/Run3Command.cs

31 lines
848 B
C#
Raw Normal View History

2016-07-21 20:04:05 +00:00
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Microsoft.DotNet.Cli.Utils;
using System.Runtime.InteropServices;
using Microsoft.DotNet.ProjectModel;
namespace Microsoft.DotNet.Tools.Test.Utilities
{
public sealed class Run3Command : TestCommand
{
public Run3Command()
: base("dotnet")
{
}
public override CommandResult Execute(string args = "")
{
args = $"run3 {args}";
return base.Execute(args);
}
public override CommandResult ExecuteWithCapturedOutput(string args = "")
{
args = $"run3 {args}";
return base.ExecuteWithCapturedOutput(args);
}
}
}