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:
Samuel Attard 2019-03-21 21:36:39 -07:00
parent b429e6e2df
commit 04a8b9fe5c

View file

@ -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
// it that we definitely don't have a terminal available and that it should
// 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);
if (!process.IsValid())