def run_local(self, commands):
        """Run the App on local system.

        Args:
            commands (dict): A dictionary of the CLI commands.

        Returns:
            int: The exit code of the subprocess command.
        """
        process = subprocess.Popen(
            commands.get('cli_command'),
            shell=self.shell,
            stdin=subprocess.PIPE,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
        )

        out, err = process.communicate()

        # display app output
        self.run_display_app_output(out)
        self.run_display_app_errors(err)

        # Exit Code
        return self.run_exit_code(process.returncode)
Run the App on local system.

        Args:
            commands (dict): A dictionary of the CLI commands.

        Returns:
            int: The exit code of the subprocess command.