mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
Use argument escaping function in util/win/process_info_test.cc
R=mark@chromium.org Review URL: https://codereview.chromium.org/1356753004 .
This commit is contained in:
parent
d1d341c719
commit
5165c48b3a
@ -124,10 +124,13 @@ void TestOtherProcess(const base::string16& directory_modification) {
|
|||||||
.Append(test_executable.BaseName().RemoveFinalExtension().value() +
|
.Append(test_executable.BaseName().RemoveFinalExtension().value() +
|
||||||
L"_process_info_test_child.exe")
|
L"_process_info_test_child.exe")
|
||||||
.value();
|
.value();
|
||||||
// TODO(scottmg): Command line escaping utility.
|
|
||||||
ChildLauncher child(
|
std::wstring args;
|
||||||
child_test_executable,
|
AppendCommandLineArgument(started_uuid.ToString16(), &args);
|
||||||
started_uuid.ToString16() + L" " + done_uuid.ToString16());
|
args += L" ";
|
||||||
|
AppendCommandLineArgument(done_uuid.ToString16(), &args);
|
||||||
|
|
||||||
|
ChildLauncher child(child_test_executable, args);
|
||||||
child.Start();
|
child.Start();
|
||||||
|
|
||||||
// Wait until the test has completed initialization.
|
// Wait until the test has completed initialization.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user