def runscript(script):
    '\n    Run the specified script after adding its directory path to\n    system path.\n\n    This function is used by the low-level plugin code.\n    '
    addscriptpath(script)
    watchdog.reset()
    argv = sys.argv
    sys.argv = [script]
    execfile(script, globals())
    sys.argv = argv
Run the specified script after adding its directory path to
system path.

This function is used by the low-level plugin code.
def runscript(script):
    '\n    Run the specified script after adding its directory path to\n    system path.\n\n    This function is used by the low-level plugin code.\n    '
    addscriptpath(script)
    watchdog.reset()
    argv = sys.argv
    sys.argv = [script]
    execfile(script, globals())
    sys.argv = argv