 
     init() {
         self.outputbatch = nil
+        self.taskDelegate = ViewControllerReference.shared.getvcref(viewcontroller: .vctabmain) as? ViewControllertabMain
     }
 
 }

                result = config.localCatalog + " , " + config.offsiteServer
            }
            self.outputbatch!.addLine(str: result!)
            self.delayWithSeconds(0.5) {
                self.executeBatch()
            }
        }


    weak var closeviewerrorDelegate: CloseViewError?
    weak var processupdateDelegate: UpdateProgress?
    weak var taskDelegate: SingleTaskProgress?
    var process: Process?
    var outputprocess: OutputProcess?
    private var outputbatch: OutputBatch?
