BuildScript/scripts/TouchinBuild/commands/ShTextCommand.py

12 lines
289 B
Python

from commands.ShellCommandBase import ShellCommandBase
class ShTextCommand(ShellCommandBase):
def __init__(self, commandText):
ShellCommandBase.__init__(self)
assert commandText is not None
self.commandText = commandText
def execute(self):
self.executeShell(self.commandText)