Ver Fonte

Fix the example.

Martijn Laan há 1 ano atrás
pai
commit
f7878f6e82
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      ISHelp/isxfunc.xml

+ 1 - 1
ISHelp/isxfunc.xml

@@ -2893,7 +2893,7 @@ end;</pre></example>
 begin
 begin
   try
   try
     // Get the system configuration
     // 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
   except
     Result := False;
     Result := False;
     Log(GetExceptionMessage);
     Log(GetExceptionMessage);