def METHOD_NAME(t):
    cmd_backup = t._command
    # Use "bash task.sh task" as command
    t._command = ["bash", t.tasksh_script, t._command[0]]
    yield
    # Restore the default "task" command
    t._command = cmd_backup