# Path: kibitzr/bash.py
# def execute_bash(code, stdin=None):
#     if os.name == 'nt':
#         executor = WindowsExecutor
#     else:
#         executor = BashExecutor
#     return executor(code).execute(stdin)


from ..bash import execute_bash


class BashNotify(object):

    def __init__(self, value):
        self.code = value

    def __call__(self, report):

# Path: kibitzr/bash.py
# def execute_bash(code, stdin=None):
#     if os.name == 'nt':
#         executor = WindowsExecutor
#     else:
#         executor = BashExecutor
#     return executor(code).execute(stdin)


# Path: kibitzr/notifier/bash.py
from ..bash import execute_bash



class BashNotify(object):

    def __init__(self, value):
        self.code = value

    def __call__(self, report):

        execute_bash(self.code, report)