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

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

Issue 8383037: Improve error handling in the process library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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.cc ('k') | runtime/bin/process_impl.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) 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 factory _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]. [arguments] has 8 * found at [path] with the specified [arguments].
9 * to be a const string array, c.f. bug 5314640.
10 */ 9 */
11 Process(String path, List<String> arguments); 10 Process(String path, List<String> arguments);
12 11
13 /* 12 /*
14 * Start the process by running the specified executable. An 13 * Start the process by running the specified executable. An
15 * exception of type [ProcessException] is thrown if the process 14 * exception of type [ProcessException] is thrown if the process
16 * cannot be started. There is a remote possibility of an exception 15 * cannot be started. There is a remote possibility of an exception
17 * being thrown even though the child process did actually start. 16 * being thrown even though the child process did actually start.
18 */ 17 */
19 void start(); 18 void start();
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 /* 56 /*
58 * Contains the system message for the process exception if any. 57 * Contains the system message for the process exception if any.
59 */ 58 */
60 final String message; 59 final String message;
61 60
62 /* 61 /*
63 * Contains the OS error code for the process exception if any. 62 * Contains the OS error code for the process exception if any.
64 */ 63 */
65 final int errorCode; 64 final int errorCode;
66 } 65 }
OLDNEW
« no previous file with comments | « runtime/bin/process.cc ('k') | runtime/bin/process_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698