def dsetool(self, cmd):
    env = self.get_env()
    extension.append_to_client_env(self, env)
    dsetool = common.join_bin(self.get_install_dir(), 'bin', 'dsetool')
    args = [dsetool, '-h', 'localhost', '-j', str(self.jmx_port)]
    args += cmd.split()
    p = subprocess.Popen(args, env=env)
    p.wait()
def dsetool(self, cmd):
    env = self.get_env()
    extension.append_to_client_env(self, env)
    dsetool = common.join_bin(self.get_install_dir(), 'bin', 'dsetool')
    args = [dsetool, '-h', 'localhost', '-j', str(self.jmx_port)]
    args += cmd.split()
    p = subprocess.Popen(args, env=env)
    p.wait()