Skip to content

Handle Windows paths containing spaces #77

@paulmasri

Description

@paulmasri

[Based on nightly build of_v20151106_vs_nightly.zip]

If there is a space in the path where the projectGenerator is stored (or the project path, or both?), such as in the User's folder, then a compile error occurs.

e.g. For user Forename Surname where OF is installed within the user's workspace you get

Command failed: C:\WINDOWS\system32\cmd.exe /s /c "C:\Users\Forename\ Surname\Documents\of_v20151106_vs_release\projectGenerator-vs\resources\app\app\projectGenerator  -o"C:\Users\Forename Surname\Documents\of_v20151106_vs_release" -a" " -p"vs,vs" "C:\Users\Forename Surname\Documents\Developer\of_v20151106_vs_release\apps\myApps\mySketch""
'C:\Users\Forename\' is not recognized as an internal or external command,
operable program or batch file.

(This is my first interaction on the OF github repos. Apologies if this is the wrong way to go about things.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions