802 Commits

Author SHA1 Message Date
Peter Horvath e381cf2951 fix: remove noexcept from function which may throw
wait(const group_handle &p) is the throwing version, should
not be marked noexcept.
2026-02-23 18:34:47 -08:00
Klemens Morgenstern 696b785c77 [bugfix] uses std::is_convertible 2026-02-11 10:50:22 +08:00
Klemens Morgenstern 631f4c84b5 [bugfix] posix default_launcher uses std::decay 2026-02-11 10:01:05 +08:00
Klemens Morgenstern 2a41d0a0dc batch file execution is forbidden by default 2025-10-21 21:42:14 -07:00
Klemens Morgenstern dc00bf81d6 Fixes args & inherited handles. 2025-10-21 21:41:11 -07:00
Konvicka Filip 635c226066 Fix: corrected empty double quotes being added to cmd.exe /c on Windows with bp::shell and bp::args (caused by PR #256) 2025-10-21 14:46:50 +08:00
EelisVP 773ac747d5 Fix 'unused variable' warning 2025-10-21 10:58:45 +08:00
Klemens Morgenstern ed7099687a Removed filesystem::path from ABI
Closes #516.
2025-10-06 13:17:13 +08:00
chn 7fb5049feb fix typo in stdio move constructor 2025-10-06 12:49:38 +08:00
Klemens Morgenstern 1bfe21baa3 Failed pidfd_open causes an exception
Closes #513.
2025-09-07 17:44:47 +08:00
Klemens Morgenstern 1765cd57bb Launchers use _exit instead of exit on error.
Closes #514
2025-09-07 17:44:47 +08:00
Klemens Morgenstern 31d6b5c9f8 process_handle.async_wait accepts ref to exit_code
Closes #503.
2025-07-01 18:59:19 +08:00
Klemens Morgenstern f5c83eb9c5 wait checks the error code first.
See #499.
2025-07-01 18:59:19 +08:00
Klemens Morgenstern 224e3cf9aa [windows] fixed escaping of path without args.
Closes #501. Credit to @melak47 for the solution.
2025-07-01 18:59:19 +08:00
Klemens Morgenstern bd450f9831 fixed wrong comment/doc using .stderr
Closes #500
2025-06-26 23:17:08 +08:00
Klemens Morgenstern 0c3c79672f added v1.hpp. 2025-06-26 22:14:16 +08:00
Klemens Morgenstern a7e4fe99c1 stdio.hpp name fix. 2025-06-21 00:54:03 +08:00
Klemens Morgenstern f9fd327546 added const_iterator alias to current_view.
Closes #497.
2025-06-21 00:37:03 +08:00
Klemens Morgenstern 921bd599b2 Fixed wrong type in probe_on_error on windows.
Closes #491.
2025-06-21 00:02:12 +08:00
Klemens Morgenstern 3999facdd3 unused variable fixes. 2025-06-21 00:00:22 +08:00
Klemens Morgenstern b8b8d27ac5 fix STD_INPUT_HANDLE issue in stdio.hpp 2025-06-20 23:56:01 +08:00
Dirk Stolle 15555b9664 Fix some typos 2025-05-06 10:11:41 +08:00
Klemens Morgenstern cd1621b197 fixed major resume/suspend typo
Closes #481.
2025-04-28 23:57:20 +08:00
Klemens Morgenstern 1baccf76cd pipe bindings use a type_trait. 2025-04-15 00:31:56 +08:00
Klemens Morgenstern 06595a2070 added BOOST_PROCESS_V2_DISABLE_SIGNALSET option 2025-04-14 23:55:23 +08:00
Klemens Morgenstern 7e712985c1 added BOOST_PROCESS_V2_PIPEFORK option 2025-04-14 23:55:23 +08:00
Osyotr 5756891558 Fix wide strings conversion on POSIX
This commit effectively reverts #179 which shouldn't have been merged in the first place. See https://github.com/boostorg/filesystem/pull/163#issuecomment-786794483 for more info.
2025-04-14 23:49:00 +08:00
RK-BFX 1d6c9ed0ec Fix conflicting pipe name in independent plug-in DLLs
Include numerical representation of local static variable's address into the pipe name to discriminate Boost.Process instances in independent DLLs.

Fixes #476

Also (auto-)remove excessive concurrent empty lines.
2025-04-14 23:48:00 +08:00
js-nano e637f8483d Fix up usage of std::move_backward
The destinations should point to the *end* of the destination range

https://en.cppreference.com/w/cpp/algorithm/move_backward
2025-03-06 17:39:28 +08:00
Klemens Morgenstern 94aa3b6b43 fixed environ for OSX
closes #453
2025-02-27 10:13:22 +08:00
SimonMaracine 529fb1e222 Fix include directives from boost/process/posix/*.hpp having wrong paths 2025-02-21 08:08:17 +08:00
Dirk Stolle bb375f50bd Fix several typos 2025-01-23 07:45:16 +08:00
Klemens Morgenstern a2d2753aa8 zombie process fixes
closes #445, #447
2025-01-13 09:31:48 +08:00
Jonas Greitemann e842a060f1 implement move operations for process_io_binding and delete copy operations
This makes the test added in the previous commit pass.
2025-01-13 08:13:33 +08:00
Klemens Morgenstern b529769eb5 removed boost::system:: scope spec for error_code. 2024-12-20 20:53:29 +08:00
Klemens Morgenstern d75ffb30ee windows link fixes. 2024-12-20 20:53:29 +08:00
Klemens Morgenstern a6f2a1d005 windows fixes. 2024-12-20 20:53:29 +08:00
Klemens Morgenstern e1c6a9b09b attempting to fix msvc build. 2024-12-20 20:53:29 +08:00
Klemens Morgenstern 298b60caca fixed for v2 namespace inlining. 2024-12-20 20:53:29 +08:00
Klemens Morgenstern c33828a166 reference docs 2024-12-20 20:53:29 +08:00
Klemens Morgenstern 2ccd97cd48 made v2 the default 2024-12-20 20:53:29 +08:00
Klemens Morgenstern 7874a04958 switched to asciidoc 2024-12-20 20:53:29 +08:00
Klemens Morgenstern 2275057574 v2 uses PROC_THREAD_ATTRIBUTE_HANDLE_LIST for limiting fd
thanks @NVCherney for bring this to my attention.
2024-12-20 09:52:57 +08:00
tomy2105 64fc05c55d Add ability to auto link process library 2024-12-20 09:45:27 +08:00
Klemens Morgenstern 0f9dd52f02 added BOOST_PROCESS_V2_DISABLE_NOTIFY_FORK
See #430
2024-12-13 12:26:46 +08:00
Klemens Morgenstern 3fe2033062 fixes #431 2024-12-13 12:26:25 +08:00
Klemens Morgenstern 662c0b10e3 warning fixes
Closes #436, #437
2024-12-13 11:58:39 +08:00
Klemens Morgenstern 9925e82a5f fixed UB in limit_handles.
Closes #200.
2024-11-19 07:41:31 +08:00
Samuel Venable 7f03295c93 Solaris Fixes (#425)
* solaris fixes
2024-11-19 07:41:31 +08:00
Klemens Morgenstern 64c4cdac83 windows gcc compile fix 2024-11-13 08:26:07 +08:00