-
Notifications
You must be signed in to change notification settings - Fork 8
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
Can't use ampersand. #49
Comments
Hello, thank you for report, I will take a look what is going on as soon as I get free) |
You generating dart class or .env file? |
@TatsuUkraine I'm generating a dart class. |
@DeepSeaPlain what OS are you using? I tried to run command with your value in the example project and all works |
My Platform is Windows. var arguments = [ Im using the command: Process.runSync( It gets cut off when im running it with Proccess.runSync() |
Ok, I will try to create shell file. Could you try to run generate command straight from the terminal? I'm just thinking that it may not necessary related to the package, but simply because something happens with the value when you passing it in *.bat file. |
Maybe you need to encode URI string before you passing it in bat file? It's just an assumption, since I don't have windows to check if it works( |
Another option probably (if you didn't try it yet), wrap value with quotes
|
I am trying to copy a URL to a config file and the "
&
" character and everything behind it gets cut off.Example URL:
https://example.com/data/?id=6969&token=1A2B3C4D5E6F7G8H9
"--usedUrl=https://example.com/data/?id=6969&token=1A2B3C4D5E6F7G8H9"
The result is: https://example.com/data/?id=6969 and he rest behind it is missing.
I have tried using \& \\& wrapping the entire URL in "https://example.com/data/?id=6969&token=1A2B3C4D5E6F7G8H9\" and many combinations of it.
The text was updated successfully, but these errors were encountered: