0bd674c374
environ variable should be updated if user provides environment. It only update for normal processes. Bug= https://github.com/dart-lang/sdk/issues/36132 Change-Id: I2a4639ed53e7376534578a0b1b251025ffaa2278 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96147 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Zichang Guo <zichangguo@google.com>
10 lines
283 B
Dart
10 lines
283 B
Dart
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'dart:io';
|
|
|
|
void main() {
|
|
print(Platform.environment);
|
|
}
|