DescriptionAdd read-only environment variable access.
Map<String, String> env = new Platform().environment();
Unfortunately, this is a bit hard to test at this point. I
will move on to implement support for providing an environment
to processes that are started. At that point we can test it
properly.
Another follow-up change will be to remove the instantiation
for Platform. I would like this to be just
Map<String, String> env = Platform.environment();
R=sgjesse@google.com
BUG=dartbug.com/752
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=6646
Patch Set 1 #Patch Set 2 : Add windows error handling. #
Total comments: 2
Messages
Total messages: 3 (0 generated)
|