Skip to content

Commit 4cbe77a

Browse files
committed
?
1 parent 1543694 commit 4cbe77a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/cpp/subprocess/ProcessBuilder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ namespace subprocess {
545545
}
546546

547547
CompletedProcess run(Popen& popen, bool check) {
548+
HERE("taking over command");
548549
CompletedProcess completed;
549550
std::thread cout_thread;
550551
std::thread cerr_thread;

test/basic_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ class BasicSuite : public CxxTest::TestSuite {
321321
TS_TRACE("HERE");
322322
try {
323323
TS_TRACE("HERE");
324-
auto completedProcess = subprocess::run({"sleep", "3"}, {.timeout = 1});
324+
auto completedProcess = subprocess::run({"sleep", "3"}, subprocess::RunOptions{.timeout = 1});
325325
TS_TRACE("HERE");
326326
} catch (subprocess::TimeoutExpired& error) {
327327
didThrow = true;

0 commit comments

Comments
 (0)