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

nimble erroneously split arguments while passing to the nim compiler #351

Closed
jxy opened this issue May 12, 2017 · 0 comments
Closed

nimble erroneously split arguments while passing to the nim compiler #351

jxy opened this issue May 12, 2017 · 0 comments
Labels

Comments

@jxy
Copy link
Contributor

jxy commented May 12, 2017

$ nimble --verbose --debug c -r -d:myVar="string with spaces" MyApp
  Verifying dependencies for tmp@0.0.0
  Compiling MyApp (from package tmp) using c backend
  Executing "/Users/jin/pkg/src/Nim/bin/nim" c --noNimblePath -r -d:myVar=string with spaces  "MyApp"
Hint: used config file '/Users/jin/pkg/src/Nim-devel/config/nim.cfg' [Conf]
Hint: system [Processing]
Hint: with [Processing]
Error: cannot open 'with.nim'
   Finished with exit code 256
     Error: Execution failed with exit code 256
        ... Command: "/Users/jin/pkg/src/Nim/bin/nim" c --noNimblePath -r -d:myVar=string with spaces  "MyApp"

The "string with spaces" is not preserved. Using the compiler directly works fine.

@dom96 dom96 added the Bug label May 12, 2017
@dom96 dom96 closed this as completed in d1eae2f Aug 12, 2017
subsetpark pushed a commit to subsetpark/nimble that referenced this issue Aug 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants