How to launch Dartium in checked mode on Windows?

76 προβολές
Παράβλεψη και μετάβαση στο πρώτο μη αναγνωσμένο μήνυμα

Jop V.

μη αναγνωσμένη,
17 Νοε 2016, 11:59:36 π.μ.17/11/16
ως 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

μη αναγνωσμένη,
17 Νοε 2016, 12:34:33 μ.μ.17/11/16
ως 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.

μη αναγνωσμένη,
17 Νοε 2016, 1:48:39 μ.μ.17/11/16
ως 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

μη αναγνωσμένη,
17 Νοε 2016, 2:31:37 μ.μ.17/11/16
ως 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.

μη αναγνωσμένη,
18 Νοε 2016, 7:35:18 π.μ.18/11/16
ως Dart Misc

Hey, that worked! Thanks!

Op donderdag 17 november 2016 20:31:37 UTC+1 schreef Vijay:
Απάντηση σε όλους
Απάντηση στον συντάκτη
Προώθηση
0 νέα μηνύματα