docs: async def run_script(self, script):
          """Execute the script and save results."""
          script = os.linesep.join(['set -x', 'set +B', script, 'exit']) + os.linesep
          self.proc.stdin.write(script.encode('utf-8'))
          await self.proc.stdin.drain()
          self.proc.stdin.close()