public void StopServer()
 {
     WindowsPowershellRunner.RunPowershellCommand("python", new[]
     {
         NeorunPath,
         $"--stop={Neo4jHome.FullName}"
     });
 }
        public void StartServer()
        {
            var args = new List <string> {
                NeorunPath, $"--start={Neo4jHome.FullName}"
            };

            args.AddRange(NeorunArgs.Split(null));
            WindowsPowershellRunner.RunPowershellCommand("python", args.ToArray());
        }
Beispiel #3
0
 private static BoltkitStatus TestBoltkitAvailability()
 {
     try
     {
         WindowsPowershellRunner.RunCommand("neoctrl-cluster", "--help");
     }
     catch
     {
         return(BoltkitStatus.Unavailable);
     }
     return(BoltkitStatus.Installed);
 }