-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log ComSpec
and add diagnostic to validate it
#16692
Comments
For that user Documentation says |
Perhaps it'll be sufficient to make sure it carries:
Note according to https://postgrespro.com/list/thread-id/1529515 it may also end with a semicolon, so some investigation may also be required to double check the possibilities of the values it can carry. |
ComSpec
and add diagnostic to validate it
Few known causes for such an error:
|
We see this often where ComSpec env variable is some how set to invalid path. We should detect this and log. This happens way too often.
Essentially the ENOENT (-4058) error with -c " " error usually means that Node exec tried to get default shell on Windows using
ComSpec
and since ComSpec was wrong it was failing while trying to shell execute python commands.Originally posted by @karthiknadig in #16684 (comment)
The text was updated successfully, but these errors were encountered: