Index: runtime/bin/process_patch.dart |
diff --git a/runtime/bin/process_patch.dart b/runtime/bin/process_patch.dart |
index ff99345f4a2b4c75e82e628c36b5bef6f2e6f6ed..4cdc85333ae9c0cf21325d3eaeeca963bab520d6 100644 |
--- a/runtime/bin/process_patch.dart |
+++ b/runtime/bin/process_patch.dart |
@@ -158,7 +158,10 @@ class _ProcessImpl extends NativeFieldWrapperClass1 implements Process { |
_err.close(); |
_exitHandler.close(); |
completer.completeException( |
- new ProcessException(status._errorMessage, status._errorCode)); |
+ new ProcessException(_path, |
+ _arguments, |
+ status._errorMessage, |
+ status._errorCode)); |
return; |
} |
_started = true; |
@@ -245,7 +248,7 @@ class _ProcessImpl extends NativeFieldWrapperClass1 implements Process { |
void set onExit(void callback(int exitCode)) { |
if (_ended) { |
- throw new ProcessException("Process killed"); |
+ throw new ProcessException(_path, _arguments, "Process killed"); |
} |
_onExit = callback; |
} |