chef-cli cannot update policyfile when the path contains spaces #214
Labels
Triage: Not Reproducible
Indicates an issue can not be reproduced as described.
Type: Bug
Does not work as expected.
Version:
Chef Workstation version: 22.7.1006
Chef Infra Client version: 17.10.0
Chef InSpec version: 4.56.20
Chef CLI version: 5.6.1
Chef Habitat version: 1.6.420
Test Kitchen version: 3.3.1
Cookstyle version: 7.32.1
Environment:
OS: Win 10 (Build: 19044)
Terminal: Windows Terminal with profile from git for windows
Scenario:
Update a policy file
Steps to Reproduce:
Expected Result:
The path should always be escaped and the policyfle should be created/updated.
Actual Result:
chef-cli fails with error "(Errno::EBADF) Bad file descriptor @ fptr_finalize_flush"
Error message:
The text was updated successfully, but these errors were encountered: