We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CoplayDev/unity-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
IProcessTerminator.cs•697 B
namespace MCPForUnity.Editor.Services.Server
{
/// <summary>
/// Interface for platform-specific process termination.
/// Provides methods to terminate processes gracefully or forcefully.
/// </summary>
public interface IProcessTerminator
{
/// <summary>
/// Terminates a process using platform-appropriate methods.
/// On Unix: Tries SIGTERM first with grace period, then SIGKILL.
/// On Windows: Tries taskkill, then taskkill /F.
/// </summary>
/// <param name="pid">The process ID to terminate</param>
/// <returns>True if the process was terminated successfully</returns>
bool Terminate(int pid);
}
}