| 5 | #include <shellapi.h> |
| 6 | |
| 7 | class Execute |
| 8 | { |
| 9 | public: |
| 10 | Execute(const TCHAR* cmd, const TCHAR* args, const TCHAR* cDir, bool show = false); |
| 11 | |
| 12 | bool Run(bool isElevationRequired = false); |
| 13 | DWORD RunSync(bool isElevationRequired = false); |
| 14 | |
| 15 | private: |
| 16 | std::wstring m_Command; |
| 17 | std::wstring m_Args; |
| 18 | std::wstring m_CurDir; |
| 19 | bool m_bShow = false; |
| 20 | SHELLEXECUTEINFO m_ShExecInfo = {}; |
| 21 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected