using System; using System.Threading; namespace Renci.SshNet { /// /// Represents SSH command that can be executed. /// public partial class SshCommand { /// /// Executes the specified action in a separate thread. /// /// The action to execute. partial void ExecuteThread(Action action) { ThreadPool.QueueUserWorkItem(o => action()); } } }