45REX_API std::wstring BuildCommandLine(std::wstring_view exe, std::span<const std::string> args);
49class REX_API InstanceLock :
public MoveOnly {
51 InstanceLock(InstanceLock&& other)
noexcept;
52 InstanceLock& operator=(InstanceLock&& other)
noexcept;
64 explicit InstanceLock(std::unique_ptr<detail::LockHandle> handle);
65 std::unique_ptr<detail::LockHandle> handle_;
83 std::span<const std::string> args,
84 const std::filesystem::path& working_directory = {});
204 bool show_dialog =
false;
void ShowMessageBox(MessageType type, std::string_view message)
std::expected< T, Error > Result
Definition result.h:98
MessageType
Definition process.h:182
Integer types, byte order wrappers and size literals.
Move only function, const propagating pointer and scope guard.