void KillFuseInstancesIfNeccessary() { try { if (ShouldKillFuse(_fuseVersion)) { TryWriteCurrentVersion(_fuseVersion); _fuseKiller.Execute(_outWriter); } } catch (Exception e) { _log.Exception("Failed to kill fuse instances", e); } }
public override void Run(string[] args, CancellationToken ct) { VersionWriter.Write(_coloredConsole, _fuse.Version); _killer.Execute(_coloredConsole); }
public void Execute(ColoredTextWriter console) { _impl.Execute(console); }