| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 interface Process factory _Process { | 5 interface Process default _Process { |
| 6 /* | 6 /* |
| 7 * Creates a new process object preparing to run the executable | 7 * Creates a new process object preparing to run the executable |
| 8 * found at [path] with the specified [arguments]. | 8 * found at [path] with the specified [arguments]. |
| 9 */ | 9 */ |
| 10 Process(String path, List<String> arguments); | 10 Process(String path, List<String> arguments); |
| 11 | 11 |
| 12 /* | 12 /* |
| 13 * Start the process by running the specified executable. An | 13 * Start the process by running the specified executable. An |
| 14 * exception of type [ProcessException] is thrown if the process | 14 * exception of type [ProcessException] is thrown if the process |
| 15 * cannot be started. There is a remote possibility of an exception | 15 * cannot be started. There is a remote possibility of an exception |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 /* | 56 /* |
| 57 * Contains the system message for the process exception if any. | 57 * Contains the system message for the process exception if any. |
| 58 */ | 58 */ |
| 59 final String message; | 59 final String message; |
| 60 | 60 |
| 61 /* | 61 /* |
| 62 * Contains the OS error code for the process exception if any. | 62 * Contains the OS error code for the process exception if any. |
| 63 */ | 63 */ |
| 64 final int errorCode; | 64 final int errorCode; |
| 65 } | 65 } |
| OLD | NEW |