summaryrefslogtreecommitdiffstats
path: root/chrome/common/platform_util_linux.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-26 00:20:16 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-26 00:20:16 +0000
commitd9f119efad13722d0dfffe7e473a5acba78f1b33 (patch)
tree87ffe21c4304482755151bce5ea4270fbbcfdf3c /chrome/common/platform_util_linux.cc
parent90ca4e6872835e8b117739081678d46b52db294f (diff)
downloadchromium_src-d9f119efad13722d0dfffe7e473a5acba78f1b33.zip
chromium_src-d9f119efad13722d0dfffe7e473a5acba78f1b33.tar.gz
chromium_src-d9f119efad13722d0dfffe7e473a5acba78f1b33.tar.bz2
Reap dead xdg-open processes so they don't turn into zombies.
BUG=15342 TEST=Click show in folder for a download, close the file manager that opens up, run ps and make sure the xdg-open process didn't turn into a zombie. Review URL: http://codereview.chromium.org/147167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/platform_util_linux.cc')
-rw-r--r--chrome/common/platform_util_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/platform_util_linux.cc b/chrome/common/platform_util_linux.cc
index 988de92..8e58fe7 100644
--- a/chrome/common/platform_util_linux.cc
+++ b/chrome/common/platform_util_linux.cc
@@ -18,7 +18,7 @@ void XDGOpen(const FilePath& path) {
argv.push_back("xdg-open");
argv.push_back(path.value());
base::file_handle_mapping_vector no_files;
- base::LaunchApp(argv, no_files, false, NULL);
+ base::LaunchApp(argv, no_files, true, NULL);
}
} // namespace