Brian Fisher wrote:
Your script is not creating a window - various things may not work right without a window on windows.