Skip to content

Conversation

@Anisimov-ds
Copy link
Contributor

In some cases on Windows, the process.communicate() function does not return any results.
For example, subprocess.Popen() runs "pg_ctl start" which starts "postgres". The process.communicate() function then waits for "postgres" to exit, not just "pg_ctl".
Using write to a temporary file instead of PIPE in execute_utility() works correctly.

@asavchkov asavchkov merged commit d9fba83 into postgrespro:master Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants