Replies: 1 comment 1 reply
-
so many " inside " :) args = set "target_os=\\\"wasi\\\" target_cpu=\\\"wasm32\\\""
exec --fail-on-error gn gen --root=../.. --args=\"${args}\" out/wasi |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to write the following Bash command in Duckscript:
$ gn gen --root=../.. --args="target_os=\"wasi\" target_cpu=\"wasm32\"" out/wasi
However, it seems that the following doesn't work.
From a bit of debugging, it appears that the long string argument is getting tokenized because it has a space, despite being inside of quotation marks. I haven't figured out a way around this, especially because I have nested quotation marks.
Beta Was this translation helpful? Give feedback.
All reactions