Execute command.

def execute(self, *, args: Union[list, tuple], options: dict) -> tuple:
        '''Execute command.'''
        cmd = self._build_cmd(args)
        process = subprocess.Popen(cmd, stdout=PIPE, stderr=PIPE, stdin=PIPE,
                                   encoding='utf-8', shell=options.get('shell', False), env=options.get('env'))
        return process