def __init__(self, nagcat, conf):
        super(SubprocessBase, self).__init__(nagcat, conf)

        env = os.environ.copy()
        if 'environment' in conf:
            env.update(conf['environment'])

        self.conf['command'] = conf['command']
        self.conf['data'] = conf.get('data', "")
        self.conf['environment'] = env
dataset/ETHPy150Open marineam/nagcat/python/nagcat/plugins/query_subprocess.py/SubprocessBase.__init__/original