mirror of
https://github.com/inspec/inspec
synced 2024-12-18 09:03:12 +00:00
d3b90a7c9f
* Add python check for pip resource When checking pip resources, we should skip resource if python is not installed or we will fail with an error when trying to parse the path. * Check pip command on windows On Windows, if pip has a newer version available, it adds an error message to stderr. Now checking if both stderr and stdout on windows have values. If so, assume pip package is installed. * Clean up powershell query command - Make it easier to read what the powershell command is doing - Make it easier to read what the cmd_successful method lokos for Signed-off-by: Paul Welch <pwelch@chef.io>
4 lines
No EOL
91 B
Text
4 lines
No EOL
91 B
Text
{
|
|
"Pip": "C:\\Python36\\Scripts\\pip.exe",
|
|
"Python": "C:\\Python36\\python.exe"
|
|
} |