Index: base/process/launch_win.cc |
diff --git a/base/process/launch_win.cc b/base/process/launch_win.cc |
index de05255d90aaa3fecbf50c386c361920ae02571d..9e4db384ebb401a967a68fb30157826906549845 100644 |
--- a/base/process/launch_win.cc |
+++ b/base/process/launch_win.cc |
@@ -23,6 +23,7 @@ |
#include "base/message_loop/message_loop.h" |
#include "base/metrics/histogram.h" |
#include "base/process/kill.h" |
+#include "base/strings/utf_string_conversions.h" |
#include "base/sys_info.h" |
#include "base/win/object_watcher.h" |
#include "base/win/scoped_handle.h" |
@@ -193,7 +194,8 @@ bool LaunchProcess(const string16& cmdline, |
&temp_process_info); |
DestroyEnvironmentBlock(enviroment_block); |
if (!launched) { |
- DPLOG(ERROR); |
+ DPLOG(ERROR) << "Command line:" << std::endl << UTF16ToUTF8(cmdline) |
+ << std::endl;; |
return false; |
} |
} else { |
@@ -201,7 +203,8 @@ bool LaunchProcess(const string16& cmdline, |
const_cast<wchar_t*>(cmdline.c_str()), NULL, NULL, |
inherit_handles, flags, NULL, NULL, |
startup_info, &temp_process_info)) { |
- DPLOG(ERROR); |
+ DPLOG(ERROR) << "Command line:" << std::endl << UTF16ToUTF8(cmdline) |
+ << std::endl;; |
return false; |
} |
} |