/// <exception cref="NSch.JSchException"></exception> public override void Start() { Session _session = GetSession(); try { SendRequests(); Request request = new RequestExec(command); request.DoRequest(_session, this); } catch (Exception e) { if (e is JSchException) { throw (JSchException)e; } if (e is Exception) { throw new JSchException("ChannelExec", (Exception)e); } throw new JSchException("ChannelExec"); } if (io.@in != null) { thread = new Sharpen.Thread(this); thread.SetName("Exec thread " + _session.GetHost()); if (_session.daemon_thread) { thread.SetDaemon(_session.daemon_thread); } thread.Start(); } }