// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Diagnostics;
namespace autoShell.Services;
///
/// Abstracts process management operations for testability.
///
internal interface IProcessService
{
///
/// Returns all processes with the specified name.
///
Process[] GetProcessesByName(string name);
///
/// Starts a new process with the specified start info.
///
Process Start(ProcessStartInfo startInfo);
///
/// Starts a process using the OS shell (e.g., opening a URL or file).
///
void StartShellExecute(string fileName);
}