# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
importsubprocess# ======================================================================================================================
classBaseTask:def__init__(self,cmd:str):self.cmd:str=cmddefexecute(self)->subprocess.Popen[str]:returnsubprocess.Popen(self.cmd,shell=True,text=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE)