Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(357)

Side by Side Diff: sdk/lib/io/process.dart

Issue 11475026: By default use current code page on Windows for decoding string (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/input_stream.dart ('k') | sdk/lib/io/string_stream.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // TODO(ager): The only reason for this class is that we 5 // TODO(ager): The only reason for this class is that we
6 // cannot patch a top-level at this point. 6 // cannot patch a top-level at this point.
7 class _ProcessUtils { 7 class _ProcessUtils {
8 external static _exit(int status); 8 external static _exit(int status);
9 } 9 }
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 */ 141 */
142 String workingDirectory; 142 String workingDirectory;
143 143
144 /** 144 /**
145 * The encoding used for text on stdout when starting a 145 * The encoding used for text on stdout when starting a
146 * non-interactive process with [:Process.run:]. 146 * non-interactive process with [:Process.run:].
147 * 147 *
148 * This option is ignored for interactive processes started with 148 * This option is ignored for interactive processes started with
149 * [:Process.start:]. 149 * [:Process.start:].
150 * 150 *
151 * The default stdoutEncoding is UTF_8. 151 * The default stdoutEncoding is SYSTEM.
152 */ 152 */
153 Encoding stdoutEncoding; 153 Encoding stdoutEncoding;
154 154
155 /** 155 /**
156 * The encoding used for text on stderr when starting a 156 * The encoding used for text on stderr when starting a
157 * non-interactive process with [:Process.run:]. 157 * non-interactive process with [:Process.run:].
158 * 158 *
159 * This option is ignored for interactive processes started with 159 * This option is ignored for interactive processes started with
160 * [:Process.start:]. 160 * [:Process.start:].
161 * 161 *
162 * The default stderrEncoding is UTF_8. 162 * The default stderrEncoding is SYSTEM.
163 */ 163 */
164 Encoding stderrEncoding; 164 Encoding stderrEncoding;
165 165
166 /** 166 /**
167 * Provides the environment variables for the process. If not set 167 * Provides the environment variables for the process. If not set
168 * the environment of the parent process is inherited. 168 * the environment of the parent process is inherited.
169 * 169 *
170 * Currently, only ASCII environment variables are supported and 170 * Currently, only ASCII environment variables are supported and
171 * errors are likely to occur if an environment variables with 171 * errors are likely to occur if an environment variables with
172 * code-points outside the ASCII range is passed in. 172 * code-points outside the ASCII range is passed in.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 /** 237 /**
238 * Contains the system message for the process exception if any. 238 * Contains the system message for the process exception if any.
239 */ 239 */
240 final String message; 240 final String message;
241 241
242 /** 242 /**
243 * Contains the OS error code for the process exception if any. 243 * Contains the OS error code for the process exception if any.
244 */ 244 */
245 final int errorCode; 245 final int errorCode;
246 } 246 }
OLDNEW
« no previous file with comments | « sdk/lib/io/input_stream.dart ('k') | sdk/lib/io/string_stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698