获取命令行输出内容的方式有传统和异步两种方式. 传统方式: public static void RunExe(string exePath, string arguments, out string output, out string error) { using (Process process = new System.Diagnostics.Process()) { process.StartInfo.FileName = exePath; process.StartInfo.Argu
[From]https://blog.soebes.de/blog/2018/06/09/help-plugin/ I bet you have been faced with the situation to get the version of your Maven project on command line? So the question is how to get it? I have seen many solutions via using Linux tools like g