Index: util/test/multiprocess_exec_win.cc |
diff --git a/util/test/multiprocess_exec_win.cc b/util/test/multiprocess_exec_win.cc |
index 19b5148329049e7cc0f5ddd4dd873ba81f07bdd4..61f99009153499454505cbfa5c33ae026037841f 100644 |
--- a/util/test/multiprocess_exec_win.cc |
+++ b/util/test/multiprocess_exec_win.cc |
@@ -136,10 +136,10 @@ void MultiprocessExec::PreFork() { |
ASSERT_FALSE(command_.empty()); |
argv_.clear(); |
+ ArgvQuote(base::UTF8ToUTF16(command_), &argv_); |
for (size_t i = 0; i < arguments_.size(); ++i) { |
+ argv_ += L" "; |
ArgvQuote(base::UTF8ToUTF16(arguments_[i]), &argv_); |
- if (i < arguments_.size() - 1) |
- argv_ += L" "; |
} |
// Make pipes for child-to-parent and parent-to-child communication. Mark them |