 final class ExecuteTaskNowShellOut: ExecuteTaskNow {
     var pretask: String?
     var posttask: String?
+    var error: Bool = false
 
     func executepretask() {
         if let index = self.index {

                    outputprocess.addlinefromoutput(str: "ShellOut error")
                    outputprocess.addlinefromoutput(str: error?.message ?? "")
                    _ = Logging(outputprocess, true)
                    return
                }
            }
        }


    deinit {
        // Execute posttask
        guard self.error == false else { return }
        self.executeposttask()
    }
}
