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

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

Issue 2451623006: Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork." (Closed)
Patch Set: Fix Created 4 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
« no previous file with comments | « runtime/bin/eventhandler_patch.dart ('k') | runtime/bin/stdio_patch.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 @patch class _WindowsCodePageDecoder { 5 @patch class _WindowsCodePageDecoder {
6 @patch static String _decodeBytes(List<int> bytes) 6 @patch static String _decodeBytes(List<int> bytes)
7 native "SystemEncodingToString"; 7 native "SystemEncodingToString";
8 } 8 }
9 9
10 10
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 }); 118 });
119 } 119 }
120 120
121 void _cancel() { 121 void _cancel() {
122 if (_id != null) { 122 if (_id != null) {
123 _clearSignalHandler(signal._signalNumber); 123 _clearSignalHandler(signal._signalNumber);
124 _id = null; 124 _id = null;
125 } 125 }
126 } 126 }
127 127
128 @patch static _setSignalHandler(int signal) 128 static _setSignalHandler(int signal)
129 native "Process_SetSignalHandler"; 129 native "Process_SetSignalHandler";
130 @patch static int _clearSignalHandler(int signal) 130 static int _clearSignalHandler(int signal)
131 native "Process_ClearSignalHandler"; 131 native "Process_ClearSignalHandler";
132 } 132 }
133 133
134 Function _getWatchSignalInternal() => _ProcessUtils._watchSignalInternal; 134 Function _getWatchSignalInternal() => _ProcessUtils._watchSignalInternal;
135 135
136 136
137 @patch class _ProcessUtils { 137 @patch class _ProcessUtils {
138 @patch static void _exit(int status) native "Process_Exit"; 138 @patch static void _exit(int status) native "Process_Exit";
139 @patch static void _setExitCode(int status) 139 @patch static void _setExitCode(int status)
140 native "Process_SetExitCode"; 140 native "Process_SetExitCode";
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 Encoding stderrEncoding) { 595 Encoding stderrEncoding) {
596 var process = new _ProcessImpl(executable, 596 var process = new _ProcessImpl(executable,
597 arguments, 597 arguments,
598 workingDirectory, 598 workingDirectory,
599 environment, 599 environment,
600 includeParentEnvironment, 600 includeParentEnvironment,
601 runInShell, 601 runInShell,
602 ProcessStartMode.NORMAL); 602 ProcessStartMode.NORMAL);
603 return process._runAndWait(stdoutEncoding, stderrEncoding); 603 return process._runAndWait(stdoutEncoding, stderrEncoding);
604 } 604 }
OLDNEW
« no previous file with comments | « runtime/bin/eventhandler_patch.dart ('k') | runtime/bin/stdio_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698