chef-workstation
chef-workstation copied to clipboard
Kitchen escaping spaces in path names and then using them as literal (Windows)
Description
Running kitchen using windows version of workstation
Running kitchen from a path that has a space in it, kitchen will then escape the path, then try to use the escaped path as a literal path in other commands which then fails the process.
In the screenshot you can see that it has identified the policy file, then has escaped the spaces in it, then tried to use that escaped path as a literal by quoting around it. If I run chef-cli.BAT install
without the escaped path it generates the lock file just fine.
Chef Workstation Version
Chef Workstation version: 22.7.1006 Cookstyle version: 7.32.1 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
Platform Version
Windows 10