using System;
using System.Diagnostics;

namespace WinSCP
{
    internal interface ISessionProcess : IDisposable
    {
        event OutputDataReceivedEventHandler OutputDataReceived;
        bool HasExited { get; }
        int ExitCode { get; }

        void Start();
        void ExecuteCommand(string command);

        void Close();
    }
}
