Danny Tuppeny

Results 1795 comments of Danny Tuppeny

Looks like this is documented: https://api.dart.dev/stable/3.5.4/dart-io/Process/start.html > **NOTE**: On Windows, if `executable` is a batch file (`'.bat'` or `'.cmd'`), it may be launched by the operating system in a system...

I'm actually struggling to track down what's happening here. I wrote a small test script that creates ` .bat` file that calls a Dart script and passes the args with...

Here's a slightly reduced repro that works with Windows desktop, so there's nothing web-specific about this: ![image](https://github.com/user-attachments/assets/48aea366-377a-4e6f-9416-5f450a5c5ebc)

I managed to repro this with a Dart script when the executable path contains a space (my Flutter SDK is inside a folder named "Flutter (main)" to catch some issues...

Right, I think I have a good isolated repro for this now... The script below fails with: ``` Writing scripts to Directory: 'C:\Users\danny\AppData\Local\Temp\flutter dap args escape test1ea07fdc' Executing: executable: C:\Users\danny\AppData\Local\Temp\flutter...

@bkonyi > but poking directly at snapshots is something we discourage since we do change their names from time to time which causes headaches when tooling is reaching into SDK...

I've not yet found a way to escape `&` correctly here, so I've filed https://github.com/dart-lang/sdk/issues/59604 to see if someone can advise how this should work (adding `^` which I believe...

Update from https://github.com/dart-lang/sdk/issues/59604... the issue was that flutter.bar uses `%*` to forward the args, and that results in everything being expanded to a string again, so that needs escaping again...

@bkonyi I'd be interested in your thoughts after reviewing the discussion in https://github.com/dart-lang/sdk/issues/59604#issuecomment-2500455274 I feel like trying to escape things reliably is going to be tough (it seems like we'd...

> Hi @DanTup, I'm not sure if the issue is related, but I'm trying to launch Flutter on http://localhost:3000/ and opening Chrome on https://localhost:5173/f/ by setting the --web-launch-url flag, but...