yyl
2026-03-31 0fa617a09eedf6bdb25eda55fac1d3344859fd93
Main/Utility/SystemCMD.cs
@@ -11,6 +11,10 @@
    /// <returns></returns>
    public static string RunCmd(string command)
    {
#if UNITY_WEBGL
        UnityEngine.Debug.LogWarning("SystemCMD.RunCmd is not supported on WebGL");
        return string.Empty;
#else
        System.Diagnostics.Process p = new System.Diagnostics.Process();
        p.StartInfo.FileName = "cmd.exe";           //确定程序名
        p.StartInfo.Arguments = "/c " + command;    //确定程式命令行
@@ -31,6 +35,7 @@
        {
            return err;        //输出出流取得命令行结果果
        }
#endif
    }
}