Skip to content
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

Support cygwin style file path for VBoxManage arguments #639

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tnanba
Copy link

@tnanba tnanba commented Apr 10, 2013

In cygwin world, file path style is like UNIX style. ("c:\foo\bar" -> "/cygdrive/c/foo/bar")
But normal windows executable cannot recognize this style, so before execute VBoxManage, convert from cygwin style path to windows style are needed.

  • check RbConfig::CONFIG['host_os'] for cygwin world or not
  • if in cygwin world, before execute VBoxManager, convert file path by cygpath tool

In cygwin world, file path style is like UNIX style. ("c:\foo\bar" -> "/cygdrive/c/foo/bar")
But normal windows executable cannot recognize this style, so before execute VBoxManage, convert from cygwin style path to windows style are needed.

- check RbConfig::CONFIG['host_os'] for cygwin world or not
- if in cygwin world, before execute VBoxManager, convert file path by cygpath tool
@mormegil-cz
Copy link
Contributor

I needed to uninstall Cygwin-based Ruby and install the “native” Windows port from rubyinstaller.org, because of the problem with Cygwin paths versus VBoxManage. This change would make Veewee more versatile in that regard.

@mpapis
Copy link
Collaborator

mpapis commented Sep 30, 2014

hey, is this PR still valid? if it is could you rebase it on current master so it could be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants