Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/clovershell-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-04-11 23:38:34 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-04-11 23:38:34 +0300
commit1a553f395ea1f6fc047f7b0079094d6f97f07f9f (patch)
tree8f941d4b4491d41fc6a4b93b7619e542a672f9b6 /Program.cs
parent33c060c65554ad95b27c160525f4667ae803a93c (diff)
parent489b902c3e4593b1df1afc60c37c316484d03fd6 (diff)
Merge branch 'master' of https://github.com/ClusterM/clovershell-client
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index a5fca4c..9db1d5e 100644
--- a/Program.cs
+++ b/Program.cs
@@ -33,6 +33,9 @@ namespace com.clusterrr.clovershell
ShowHelp();
Environment.Exit(-1);
}
+
+ if (Process.GetProcessesByName("hakchi").Count() > 0) throw new Exception("Please close hakchi2 first");
+
var command = args[0].ToLower();
nes.Connect();
var ping = nes.Ping();