webapp: Fix zombie xdg-open process left when opening file browser. Closes: #785498
This commit is contained in:
parent
e9172263e5
commit
6ec7c4fef4
2 changed files with 5 additions and 2 deletions
|
@ -132,8 +132,9 @@ openFileBrowser = do
|
||||||
#endif
|
#endif
|
||||||
ifM (liftIO $ inPath cmd)
|
ifM (liftIO $ inPath cmd)
|
||||||
( do
|
( do
|
||||||
let run = void $ liftIO $ forkIO $ void $
|
let run = void $ liftIO $ forkIO $ do
|
||||||
createProcess p
|
(Nothing, Nothing, Nothing, pid) <- createProcess p
|
||||||
|
void $ waitForProcess pid
|
||||||
run
|
run
|
||||||
#ifdef mingw32_HOST_OS
|
#ifdef mingw32_HOST_OS
|
||||||
{- On windows, if the file browser is not
|
{- On windows, if the file browser is not
|
||||||
|
|
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -21,6 +21,8 @@ git-annex (5.20150508.2) UNRELEASED; urgency=medium
|
||||||
* unused: Add --used-refspec option and annex.used-refspec, which can specify
|
* unused: Add --used-refspec option and annex.used-refspec, which can specify
|
||||||
a set of refs to consider used, rather than the default of considering
|
a set of refs to consider used, rather than the default of considering
|
||||||
all refs used.
|
all refs used.
|
||||||
|
* webapp: Fix zombie xdg-open process left when opening file browser.
|
||||||
|
Closes: #785498
|
||||||
|
|
||||||
-- Joey Hess <id@joeyh.name> Mon, 11 May 2015 12:45:06 -0400
|
-- Joey Hess <id@joeyh.name> Mon, 11 May 2015 12:45:06 -0400
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue