| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 // |
| 5 // Simple script hanging for testing a detached process. |
| 4 | 6 |
| 5 // Script which exits with code 42. | 7 import 'dart:isolate'; |
| 6 | 8 |
| 7 import 'dart:io'; | 9 main() { |
| 8 | 10 new ReceivePort().listen(print); |
| 9 void main() { | |
| 10 exitCode = 42; | |
| 11 } | 11 } |
| OLD | NEW |