Make sure the new instance inherite cwd on mac
This commit is contained in:
parent
0646f6ea9e
commit
0d066de53e
5 changed files with 18 additions and 96 deletions
|
@ -65,11 +65,10 @@ void RelauncherSynchronizeWithParent() {
|
|||
}
|
||||
|
||||
int LaunchProgram(const StringVector& relauncher_args,
|
||||
const StringType& program,
|
||||
const StringVector& args) {
|
||||
const StringVector& argv) {
|
||||
base::LaunchOptions options;
|
||||
base::Process process = base::LaunchProcess(
|
||||
program + L" " + base::JoinString(args, L" "), options);
|
||||
base::Process process =
|
||||
base::LaunchProcess(base::JoinString(args, L" "), options);
|
||||
return process.IsValid() ? 0 : 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue