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

Try to fix space in build config #332

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

Conversation

boydc2014
Copy link

@boydc2014 boydc2014 commented Jun 19, 2019

Try to fix #320, but i didn't get the build work on my laptop.

I hope there will some kind of CI to help me to verify, which doesn't seem to be true.

So @sharwell can you help try this out, or can you point me out, how to build\test\run this locally.

arguments.Add(OutputPath);

// Wrap output path with quotes to work with cmdline
arguments.Add("\""+ OutputPath + "\"");

Choose a reason for hiding this comment

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

This is obviously not right, as JoinArguments is supposed to append quotes to arguments with spaces.

Copy link
Member

@sharwell sharwell left a comment

Choose a reason for hiding this comment

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

The logic would need to be in JoinArguments, which detects the presence of a space or quote in an argument and automatically escapes it.

@sharwell
Copy link
Member

sharwell commented Aug 7, 2019

I hope there will some kind of CI to help me to verify, which doesn't seem to be true.

Local builds are fairly complex, but the CI should be working.

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.

Can't generate result if build configuration contains space in it
3 participants