Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Copy command fails with paths that contain spaces #123

Open
axelboc opened this issue Aug 13, 2015 · 1 comment
Open

Copy command fails with paths that contain spaces #123

axelboc opened this issue Aug 13, 2015 · 1 comment

Comments

@axelboc
Copy link

axelboc commented Aug 13, 2015

The setup command fails on Windows when dealing with paths that contain spaces. In lib/project_creator.js, line 32, the paths should be quoted:

// Current version that leads to an error:
copy_command = "ROBOCOPY " + source_path + " " + destination_path + " *.* /E";

// Adding double quotes around the two paths solves the issue:
copy_command = "ROBOCOPY \"" + source_path + "\" \"" + destination_path + "\" *.* /E";

The cp command on line 35 is probably also affected. The corresponding spec file, project_creator.spec.js, would need to be updated as well.

@richard-edwards
Copy link

Same issue with me, Windows 10 x64. Would love to try this out but failing on initial setup.

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

No branches or pull requests

2 participants