> Application log contains
>
> Could'nt execute script C:\DOCUME~1\postgres\.... GetLastError() returned
> 183, errno = 0
From
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt__popen.2c_._wpopen.asp
Note If used in a Windows program, the _popen function returns an invalid
file pointer that will cause the program to hang indefinitely. _popen works
properly in a Console application. To create a Windows application that
redirects input and output, see Creating a Child Process with Redirected
Input and Output in the Platform SDK
Andrus.