| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |