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

Side by Side Diff: sdk/lib/_internal/compiler/js_lib/io_patch.dart

Issue 798743004: Add support for starting a detached process (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 5 years, 11 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_win.cc ('k') | sdk/lib/io/process.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 import 'dart:_js_helper' show patch; 5 import 'dart:_js_helper' show patch;
6 6
7 @patch 7 @patch
8 class _Directory { 8 class _Directory {
9 @patch 9 @patch
10 static _current() { 10 static _current() {
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 268
269 @patch 269 @patch
270 class Process { 270 class Process {
271 @patch 271 @patch
272 static Future<Process> start( 272 static Future<Process> start(
273 String executable, 273 String executable,
274 List<String> arguments, 274 List<String> arguments,
275 {String workingDirectory, 275 {String workingDirectory,
276 Map<String, String> environment, 276 Map<String, String> environment,
277 bool includeParentEnvironment: true, 277 bool includeParentEnvironment: true,
278 bool runInShell: false}) { 278 bool runInShell: false,
279 bool detach: false}) {
279 throw new UnsupportedError("Process.start"); 280 throw new UnsupportedError("Process.start");
280 } 281 }
281 282
282 @patch 283 @patch
283 static Future<ProcessResult> run( 284 static Future<ProcessResult> run(
284 String executable, 285 String executable,
285 List<String> arguments, 286 List<String> arguments,
286 {String workingDirectory, 287 {String workingDirectory,
287 Map<String, String> environment, 288 Map<String, String> environment,
288 bool includeParentEnvironment: true, 289 bool includeParentEnvironment: true,
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 } 522 }
522 } 523 }
523 524
524 @patch 525 @patch
525 class _IOService { 526 class _IOService {
526 @patch 527 @patch
527 static Future _dispatch(int request, List data) { 528 static Future _dispatch(int request, List data) {
528 throw new UnsupportedError("_IOService._dispatch"); 529 throw new UnsupportedError("_IOService._dispatch");
529 } 530 }
530 } 531 }
OLDNEW
« no previous file with comments | « runtime/bin/process_win.cc ('k') | sdk/lib/io/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698