From 193384a450da4bfab5973817c2bddabc7f0ffc7a Mon Sep 17 00:00:00 2001 From: zhixingchen Date: Sat, 11 May 2024 10:42:51 +0800 Subject: [PATCH] FIX(process): modify the internal logic call of resume without error code version. --- include/boost/process/v2/detail/process_handle_windows.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/process/v2/detail/process_handle_windows.hpp b/include/boost/process/v2/detail/process_handle_windows.hpp index 88307531f..608d2ceba 100644 --- a/include/boost/process/v2/detail/process_handle_windows.hpp +++ b/include/boost/process/v2/detail/process_handle_windows.hpp @@ -209,7 +209,7 @@ struct basic_process_handle_win void resume() { error_code ec; - suspend(ec); + resume(ec); if (ec) detail::throw_error(ec, "resume"); }