Skip to content

Conversation

@sanjain-progress
Copy link
Contributor

@sanjain-progress sanjain-progress commented Dec 18, 2025

Summary of Changes

Fixed chef exec and env commands not working properly in Windows environments.

Changes Made

  • Updated lib/chef-cli/helpers.rb to properly handle Windows-specific command execution
  • Fixed command escaping and quoting for Windows platform compatibility

Testing Performed

  • Verified chef exec command works correctly on Windows
  • Verified chef env command works correctly on Windows
  • Ensured backward compatibility with existing Unix/Linux systems

Signed-off-by: Sachin <sachin.jain@chef.io>
@sanjain-progress sanjain-progress requested review from a team as code owners December 18, 2025 19:15
@sanjain-progress sanjain-progress added Type: Enhancement Adds new functionality. and removed Type: Enhancement Adds new functionality. labels Dec 18, 2025
@github-actions
Copy link

Simplecov Report

Covered Threshold
98.51% 90%

Signed-off-by: Sachin <sachin.jain@chef.io>
@sanjain-progress sanjain-progress force-pushed the sanjain/CHEF-25203/fix/chef-exec-env-windows branch from 8eb05f3 to fcdfa88 Compare December 22, 2025 13:31
@sonarqubecloud
Copy link

@sanjain-progress sanjain-progress merged commit 988ee0f into main Dec 24, 2025
33 of 34 checks passed
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.

3 participants