diff --git a/dll/shellext/shellbtrfs/contextmenu.cpp b/dll/shellext/shellbtrfs/contextmenu.cpp index 004ac00057c..5bab1279b54 100644 --- a/dll/shellext/shellbtrfs/contextmenu.cpp +++ b/dll/shellext/shellbtrfs/contextmenu.cpp @@ -1108,7 +1108,9 @@ HRESULT __stdcall BtrfsContextMenu::InvokeCommand(LPCMINVOKECOMMANDINFO picia) { if (!ShellExecuteExW(&sei)) throw last_error(GetLastError()); +#ifndef __REACTOS__ WaitForSingleObject(sei.hProcess, INFINITE); +#endif CloseHandle(sei.hProcess); return S_OK;