瀏覽代碼

Fix the example.

Martijn Laan 1 年之前
父節點
當前提交
f7878f6e82
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ISHelp/isxfunc.xml

+ 1 - 1
ISHelp/isxfunc.xml

@@ -2893,7 +2893,7 @@ end;</pre></example>
 begin
   try
     // Get the system configuration
-    Result := ExecAndCaptureOutput(ExpandConstant('{cmd}'), '/k systeminfo', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode, Output);
+    Result := ExecAndCaptureOutput(ExpandConstant('{cmd}'), '/c systeminfo', '', SW_SHOWNORMAL, ewWaitUntilTerminated, ResultCode, Output);
   except
     Result := False;
     Log(GetExceptionMessage);