Skip to content

Commit 0dd797d

Browse files
author
Elazar Leibovich
committed
expose arguments for later documentation
1 parent 77aaff6 commit 0dd797d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subprocess.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,8 @@ class Popen
13191319
void close_output() { stream_.output_.reset(); }
13201320
void close_error() { stream_.error_.reset(); }
13211321

1322+
std::vector<std::string> args() const { return vargs_; }
1323+
13221324
private:
13231325
template <typename F, typename... Args>
13241326
void init_args(F&& farg, Args&&... args);

0 commit comments

Comments
 (0)