Discussion:
[dart-misc] How to launch Dartium in checked mode on Windows?
Jop V.
2016-11-17 16:59:36 UTC
Permalink
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?
--
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+***@dartlang.org.
'Bob Nystrom' via Dart Misc
2016-11-17 17:33:58 UTC
Permalink
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
Post by Jop V.
DART_FLAGS='--checked' /path/to/dartium/chrome
But how do you do it on Windows?
--
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
--
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+***@dartlang.org.
Jop V.
2016-11-17 18:48:39 UTC
Permalink
Problem is, what does the DART_FLAGS argument look like on Windows?

(I already tried it in PowerShell too)
Post by 'Bob Nystrom' via Dart Misc
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
Post by Jop V.
DART_FLAGS='--checked' /path/to/dartium/chrome
But how do you do it on Windows?
--
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
--
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+***@dartlang.org.
'Vijay Menon' via Dart Misc
2016-11-17 19:31:33 UTC
Permalink
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?
Post by Jop V.
Problem is, what does the DART_FLAGS argument look like on Windows?
(I already tried it in PowerShell too)
Post by 'Bob Nystrom' via Dart Misc
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
Post by Jop V.
DART_FLAGS='--checked' /path/to/dartium/chrome
But how do you do it on Windows?
--
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
--
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
--
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+***@dartlang.org.
Jop V.
2016-11-18 12:35:17 UTC
Permalink
<Loading Image...>
Hey, that worked! Thanks!
Post by 'Vijay Menon' via Dart Misc
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?
Post by Jop V.
Problem is, what does the DART_FLAGS argument look like on Windows?
(I already tried it in PowerShell too)
Post by 'Bob Nystrom' via Dart Misc
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
Post by Jop V.
DART_FLAGS='--checked' /path/to/dartium/chrome
But how do you do it on Windows?
--
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
--
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
--
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+***@dartlang.org.
Loading...