| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 part of dart.fletch.os; | 5 part of dart.fletch.os; |
| 6 | 6 |
| 7 class NativeProcess { | 7 class NativeProcess { |
| 8 | 8 |
| 9 /// Starts a native (OS) process with stdin, stdout, and stderr detached. | 9 /// Starts a native (OS) process with stdin, stdout, and stderr detached. |
| 10 /// Returns the pid of the spawned process. | 10 /// Returns the pid of the spawned process. |
| 11 static int startDetached(String path, List<String> arguments) { | 11 static int startDetached(String path, List<String> arguments) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 memory.free(); | 50 memory.free(); |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 } | 53 } |
| 54 | 54 |
| 55 @fletch.native static int _spawnDetached(int argumentsAddress) { | 55 @fletch.native static int _spawnDetached(int argumentsAddress) { |
| 56 throw new UnsupportedError('_spawnDetached'); | 56 throw new UnsupportedError('_spawnDetached'); |
| 57 } | 57 } |
| 58 } | 58 } |
| 59 | 59 |
| OLD | NEW |