diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 00:20:16 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-26 00:20:16 +0000 |
commit | d9f119efad13722d0dfffe7e473a5acba78f1b33 (patch) | |
tree | 87ffe21c4304482755151bce5ea4270fbbcfdf3c /chrome | |
parent | 90ca4e6872835e8b117739081678d46b52db294f (diff) | |
download | chromium_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')
-rw-r--r-- | chrome/common/platform_util_linux.cc | 2 |
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 |