I have exactly the same issue. Simply [error]=1 and nothing else.
However this is only on Windows 10. The exact same code works on my iMac
without problem. I've turned off virus checkers and firewalls without
any success. The script is obviously not ...