using System.Threading;
namespace MalwareMultiScan.Backends.Services.Interfaces
{
///
/// Process runner.
///
public interface IProcessRunner
{
///
/// Run process till completion.
///
/// Path to binary.
/// Arguments.
/// Cancellation token.
/// Standard output of a process.
/// Standard error of a process.
/// Exit code.
int RunTillCompletion(string path, string arguments, CancellationToken token,
out string standardOutput, out string standardError);
}
}