diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 11:16:38 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 11:16:38 +0000 |
commit | 1576b36539b6acb0485ee3e130132d36583003cc (patch) | |
tree | 9af580b6fdc209ca3bb80d80ae2ee5e59c7158c4 /desktop/win32/source/applauncher | |
parent | ef504343ec0d2f50019a13e66cf2430297181b08 (diff) |
INTEGRATION: CWS hrovista2 (1.9.80); FILE MERGED
2008/07/01 14:00:07 hro 1.9.80.1: #i76966# Let application launcher join soffice process
Diffstat (limited to 'desktop/win32/source/applauncher')
-rw-r--r-- | desktop/win32/source/applauncher/launcher.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx index 35b6db3388eb..107f4db0cab9 100644 --- a/desktop/win32/source/applauncher/launcher.cxx +++ b/desktop/win32/source/applauncher/launcher.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: launcher.cxx,v $ - * $Revision: 1.9 $ + * $Revision: 1.10 $ * * This file is part of OpenOffice.org. * @@ -112,6 +112,11 @@ extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) if ( fSuccess ) { + // Wait for soffice process to be terminated to allow other applications + // to wait for termination of started process + + WaitForSingleObject( aProcessInfo.hProcess, INFINITE ); + CloseHandle( aProcessInfo.hProcess ); CloseHandle( aProcessInfo.hThread ); |