Skip to content

Attempt to fix windows space bug 2 #1321

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

Merged
merged 21 commits into from
Feb 10, 2025
Merged

Attempt to fix windows space bug 2 #1321

merged 21 commits into from
Feb 10, 2025

Conversation

Kitenite
Copy link
Contributor

Description

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Release
  • Other (please describe):

Testing

Screenshots (if applicable)

Additional Notes

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR addresses Windows path handling issues, specifically focusing on command execution in environments with spaces in file paths.

  • Modified apps/studio/electron/main/bun/index.ts to explicitly use powershell.exe on Windows and bash on other platforms
  • Added shell-specific command handling in runBunCommand function to improve cross-platform compatibility
  • Bumped version from 0.1.45 to 0.1.46 in apps/studio/package.json for the bug fix release
  • Potential security consideration: Implementation assumes bash availability on non-Windows systems and doesn't handle alternative default shells

2 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

@Kitenite Kitenite merged commit 1e6ad4d into main Feb 10, 2025
@Kitenite Kitenite deleted the bugs/windows-space-2 branch February 10, 2025 12:28
ml-delaurier pushed a commit to ml-delaurier/nolook that referenced this pull request Apr 23, 2025
t1c1 pushed a commit to t1c1/onlookbotcodes that referenced this pull request Jun 5, 2025
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.

1 participant