Browse Source

fix: base::LaunchOptions environ is now environment

Just a rename

Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1509795
Samuel Attard 6 years ago
parent
commit
04a8b9fe5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      atom/common/platform_util_linux.cc

+ 1 - 1
atom/common/platform_util_linux.cc

@@ -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())