Skip to content

Commit c18004a

Browse files
committed
Expose quote_windows_arg
Make the quote_windows_arg function available for use
1 parent a508bca commit c18004a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/util/run.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,11 @@ int run(
4848
std::ostream &std_output,
4949
const std::string &std_error);
5050

51+
#ifdef _WIN32
52+
/// This quotes Windows argument strings correctly
53+
/// \p src is the string to be quoted
54+
/// \return correctly quoted string
55+
std::wstring quote_windows_arg(const std::wstring &src);
56+
#endif
57+
5158
#endif // CPROVER_UTIL_RUN_H

0 commit comments

Comments
 (0)