mirror of
https://github.com/volodymyrsmirnov/MalwareMultiScan.git
synced 2025-08-25 14:01:13 +00:00
finished unit tests and docstrings
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System.Threading;
|
||||
|
||||
namespace MalwareMultiScan.Backends.Services.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// Process runner.
|
||||
/// </summary>
|
||||
public interface IProcessRunner
|
||||
{
|
||||
/// <summary>
|
||||
/// Run process till completion.
|
||||
/// </summary>
|
||||
/// <param name="path">Path to binary.</param>
|
||||
/// <param name="arguments">Arguments.</param>
|
||||
/// <param name="token">Cancellation token.</param>
|
||||
/// <param name="standardOutput">Standard output of a process.</param>
|
||||
/// <param name="standardError">Standard error of a process.</param>
|
||||
/// <returns>Exit code.</returns>
|
||||
int RunTillCompletion(string path, string arguments, CancellationToken token,
|
||||
out string standardOutput, out string standardError);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user