A modest string writer

123456789101112
  1. # -*- coding: utf-8 -*-
  2. import subprocess
  3. class Plugin():
  4. def __init__(self, subcommand):
  5. self.args = subcommand.args
  6. def render(self):
  7. return subprocess.check_output(self.args)