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

Side by Side Diff: runtime/bin/process_impl.dart

Issue 10879033: Move exit from the builtin library to dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months 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 | « runtime/bin/process.dart ('k') | no next file » | 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 _exit(int status) native "Exit";
6
5 class _ProcessStartStatus { 7 class _ProcessStartStatus {
6 int _errorCode; // Set to OS error code if process start failed. 8 int _errorCode; // Set to OS error code if process start failed.
7 String _errorMessage; // Set to OS error message if process start failed. 9 String _errorMessage; // Set to OS error message if process start failed.
8 } 10 }
9 11
10 12
11 class _Process extends Process { 13 class _Process extends Process {
12 static Process start(String path, 14 static Process start(String path,
13 List<String> arguments, 15 List<String> arguments,
14 [ProcessOptions options]) { 16 [ProcessOptions options]) {
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 392
391 class _ProcessResult implements ProcessResult { 393 class _ProcessResult implements ProcessResult {
392 const _ProcessResult(int this.exitCode, 394 const _ProcessResult(int this.exitCode,
393 String this.stdout, 395 String this.stdout,
394 String this.stderr); 396 String this.stderr);
395 397
396 final int exitCode; 398 final int exitCode;
397 final String stdout; 399 final String stdout;
398 final String stderr; 400 final String stderr;
399 } 401 }
OLDNEW
« no previous file with comments | « runtime/bin/process.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698