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

Unified Diff: runtime/bin/process_patch.dart

Issue 23528006: Use correct output encoding in Process.runSync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | « no previous file | tests/standalone/io/process_run_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_patch.dart
diff --git a/runtime/bin/process_patch.dart b/runtime/bin/process_patch.dart
index 441e75b973cc332ff1c81938966af00c44e39570..e0e8fc6e237d21c632eb4158506f848ec3c7d11d 100644
--- a/runtime/bin/process_patch.dart
+++ b/runtime/bin/process_patch.dart
@@ -323,7 +323,7 @@ class _ProcessImpl extends NativeFieldWrapperClass1 implements Process {
_exitHandler._nativeSocket);
getOutput(output, encoding) {
- if (stderrEncoding == null) return output;
+ if (encoding == null) return output;
return encoding.decode(output);
}
« no previous file with comments | « no previous file | tests/standalone/io/process_run_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698