Index: chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc |
diff --git a/chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc b/chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc |
index 3b62003d6d65c853ff5e8ee70fee0bf930891698..c2176436493d18e0ac5b929711fb43b76b3fa720 100644 |
--- a/chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc |
+++ b/chrome/browser/extensions/api/messaging/native_process_launcher_posix.cc |
@@ -76,6 +76,7 @@ bool NativeProcessLauncher::LaunchNativeProcess( |
fd_map.push_back(std::make_pair(write_pipe_read_fd.get(), STDIN_FILENO)); |
base::LaunchOptions options; |
+ options.current_directory = command_line.GetProgram().DirName(); |
options.fds_to_remap = &fd_map; |
#if defined(OS_LINUX) && !defined(OS_CHROMEOS) |