How to launch Dartium in checked mode on Windows?

76 views
Skip to first unread message

Jop V.

unread,
Nov 17, 2016, 11:59:36 AM11/17/16
to Dart Misc
On Linux, I can launch Dartium in checked mode like this:

DART_FLAGS='--checked' /path/to/dartium/chrome

But how do you do it on Windows?

Bob Nystrom

unread,
Nov 17, 2016, 12:34:33 PM11/17/16
to General Dart Discussion
My Windows expertise is hilariously rusty at this point, but I believe you can create a shortcut for an executable. Right-click that to get its properties and I think you can add command line arguments and environment variables there.

Good luck!

– bob


--
For other discussions, see https://groups.google.com/a/dartlang.org/
 
For HOWTO questions, visit http://stackoverflow.com/tags/dart
 
To file a bug report or feature request, go to http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+uns...@dartlang.org.

Jop V.

unread,
Nov 17, 2016, 1:48:39 PM11/17/16
to Dart Misc
Problem is, what does the DART_FLAGS argument look like on Windows?

(I already tried it in PowerShell too)

Op donderdag 17 november 2016 18:34:33 UTC+1 schreef Bob:

Vijay Menon

unread,
Nov 17, 2016, 2:31:37 PM11/17/16
to General Dart Discussion
I suspect you have to set it as an environment variable on Windows like this: http://www.computerhope.com/issues/ch000549.htm

Perhaps we should just hardcode this?  Does anyone actually use DART_FLAGS for a reason other than passing "--checked"?  Is there a reason to run Dartium in non-checked mode?

Jop V.

unread,
Nov 18, 2016, 7:35:18 AM11/18/16
to Dart Misc

Hey, that worked! Thanks!

Op donderdag 17 november 2016 20:31:37 UTC+1 schreef Vijay:
Reply all
Reply to author
Forward
0 new messages