You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running crystal run print_gotten_string.cr errors out with the following message:
can't specify arguments in both, command and args without including "${@}" into your command
???
???
???
???
???
???
???
???
???
???
???
???
???
???
???
???
???
???
???
???
???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues
The text was updated successfully, but these errors were encountered:
obskyr
changed the title
Compiler errors out when a macro uses run() with spaces in the path
Compiler bug when a macro uses run() with spaces in the path
Apr 5, 2018
Try the following examples, lifted more or less straight from the docs:
directory with spaces/print_gotten_string.cr
:directory with spaces/get_string.cr
:Running
crystal run print_gotten_string.cr
errors out with the following message:It looks like
Process.prepare_argv
is getting the parts of the path as arguments instead of the entire path being passed in as the command.The text was updated successfully, but these errors were encountered: