Uniform when to use args or argv
This commit is contained in:
parent
0d066de53e
commit
9a08cbce27
4 changed files with 24 additions and 23 deletions
|
@ -68,7 +68,7 @@ int LaunchProgram(const StringVector& relauncher_args,
|
|||
const StringVector& argv) {
|
||||
base::LaunchOptions options;
|
||||
base::Process process =
|
||||
base::LaunchProcess(base::JoinString(args, L" "), options);
|
||||
base::LaunchProcess(base::JoinString(argv, L" "), options);
|
||||
return process.IsValid() ? 0 : 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue