Index: TECH/Cmd/impl/CommandExecuter.cls.xml
===================================================================
diff -u -r1380 -r1392
--- TECH/Cmd/impl/CommandExecuter.cls.xml (.../CommandExecuter.cls.xml) (revision 1380)
+++ TECH/Cmd/impl/CommandExecuter.cls.xml (.../CommandExecuter.cls.xml) (revision 1392)
@@ -8,6 +8,12 @@
1
+
+%Boolean
+0
+1
+
+
ZFExecuter:TECH.Cmd.impl.ZFExecuter
1
@@ -20,6 +26,12 @@
]]>
+
+HeeftCorrecteExitCodeGroterDanNul:%Boolean
+
+
+
Command:TECH.Cmd.Command,ServerName:%String
%Boolean
@@ -30,7 +42,8 @@
#dim WachtOpKindProcess As %String = ..GeefWachtOpKindProcess(Command)
Do ##class(vhLib.Logger).%New("Computer").Info(Command.%ClassName(1),"Begin: "_$C(13,10)_UitTeVoerenCommand)
#dim Results As %String = ..ZFExecuter.Execute(WachtOpKindProcess,UitTeVoerenCommand)
- If (Results '= 0)
+ If (('..HeeftCorrecteExitCodeGroterDanNul && (Results '= 0)) ||
+ (..HeeftCorrecteExitCodeGroterDanNul && (Results < 0)))
{
#dim FoutOnderwerp As %String = ..VervangServerName(Command.GeefFoutOnderwerp(),ServerName)
#dim FoutMelding As %String = ..VervangServerName(Command.GeefFoutmelding(),ServerName)
Index: TECH/Cmd/Commands/PSExec.cls.xml
===================================================================
diff -u -r1388 -r1392
--- TECH/Cmd/Commands/PSExec.cls.xml (.../PSExec.cls.xml) (revision 1388)
+++ TECH/Cmd/Commands/PSExec.cls.xml (.../PSExec.cls.xml) (revision 1392)
@@ -23,11 +23,6 @@
1
-
-%Boolean
-1
-
-
%String
list
@@ -64,27 +59,18 @@
]]>
-
-VoerUitOpEigenToestel:%Boolean
-
-
-
%String