摘要:
示例代码如下: string chmodCmdStr = "chmod +x ./AEConsole_GatewayService"; Process process = new Process(); process.StartInfo.UseShellExecute = false; proces 阅读全文
摘要:
示例代码如下: if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { // Windows 相关逻辑 } else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) { // 阅读全文