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