fix: base::LaunchOptions environ is now environment
Just a rename Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1509795
This commit is contained in:
parent
b429e6e2df
commit
04a8b9fe5c
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ bool XDGUtilV(const std::vector<std::string>& argv, const bool wait_for_exit) {
|
||||||
// to a command that needs a terminal. Set the environment variable telling
|
// to a command that needs a terminal. Set the environment variable telling
|
||||||
// it that we definitely don't have a terminal available and that it should
|
// it that we definitely don't have a terminal available and that it should
|
||||||
// bring up a new terminal if necessary. See "man mailcap".
|
// bring up a new terminal if necessary. See "man mailcap".
|
||||||
options.environ["MM_NOTTTY"] = "1";
|
options.environment["MM_NOTTTY"] = "1";
|
||||||
|
|
||||||
base::Process process = base::LaunchProcess(argv, options);
|
base::Process process = base::LaunchProcess(argv, options);
|
||||||
if (!process.IsValid())
|
if (!process.IsValid())
|
||||||
|
|
Loading…
Reference in a new issue