如何在windows中使用Runtime.getRuntime().exec(命令)?linux => Runs OK
command = "type data.json"; // works in windows cmd
Runtime.getRuntime().exec(commandBufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream())); // Ou
我正在尝试在linux中编译一些c#代码,我可以在Windows中使用Visual Studio命令行中的csc命令来编译相同的代码。我也已经安装了mono-devel。这就是确切的错误: mycode.cs(8,22): error CS0234: The type or namespace name `Forms' does not exist in the namespacemycode.cs(70,27): error CS0246: The type