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

Unified Diff: tests/standalone/io/process_detached_script.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/process.dart ('k') | tests/standalone/io/process_detached_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/process_detached_script.dart
diff --git a/tools/canary.dart b/tests/standalone/io/process_detached_script.dart
similarity index 63%
copy from tools/canary.dart
copy to tests/standalone/io/process_detached_script.dart
index cca1f90cd7be8eb2481a00a89bbc7ba7edaa6d4f..122831b433b2d6ef75f6b028643abc49ca0db6ef 100644
--- a/tools/canary.dart
+++ b/tests/standalone/io/process_detached_script.dart
@@ -1,11 +1,11 @@
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+//
+// Simple script hanging for testing a detached process.
-// Script which exits with code 42.
+import 'dart:isolate';
-import 'dart:io';
-
-void main() {
- exitCode = 42;
+main() {
+ new ReceivePort().listen(print);
}
« no previous file with comments | « sdk/lib/io/process.dart ('k') | tests/standalone/io/process_detached_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698