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

Copy command fails with paths that contain spaces #123

Description

@axelboc

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions