Klemens Morgenstern
1765cd57bb
Launchers use _exit instead of exit on error.
...
Closes #514
2025-09-07 17:44:47 +08:00
Alexander Grund
7212471b57
Update Link to regression test matrix in README
2025-09-07 17:30:30 +08:00
Klemens Morgenstern
5597aa0055
changed env example for windows wchar_t.
boost-1.89.0
2025-07-01 18:59:19 +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
c72650df30
added example for modifying inherited environment.
2025-06-26 22:48:16 +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
f372a9a119
fixed MultiByteToWideChar use for empty strings
...
Closes #495
2025-06-21 00:25:10 +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
high on tantor
0ea2eaed27
Support child_pids() Even When PROC_PPID_ONLY is Undefined on Mac
...
Needs testing...
2025-06-20 23:59:27 +08:00
high on tantor
677d94f3a2
Correct Samuel Venable Link In Acknowledgements Document
2025-06-20 23:56:40 +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
Petter Reinholdtsen
09555dac5f
Add cmd & env support on GNU/Hurd
2025-05-05 22:32:56 +08:00
Petter Reinholdtsen
818e11672e
Fix build on systems without cmd() implementation
2025-05-05 22:31:38 +08:00
Dirk Stolle
06946018d6
Remove Ubuntu 20.04 builds from CI
...
The Ubuntu 20.04 image on GitHub Actions has been unavailable
since 2025-04-15. See <https://github.com/actions/runner-images/issues/11101 >
for more information on the deprecation and removal.
Therefore all build jobs that use the Ubuntu 20.04 runner image
of GHA will fail and have to be replaced by newer images or have
to move into Ubuntu 20.04 containers.
2025-05-05 22:30:26 +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
Klemens Morgenstern
da08060021
Set ENOTSUP when PROC_PPID_ONLY is undefined
...
closes #452
2025-04-14 23:54:14 +08:00
Klemens Morgenstern
afdbab734e
Removed char_count
...
Closes #473
2025-04-14 23:53:30 +08:00
Klemens Morgenstern
9dcd1a2775
added duplication check for SIGINFO
...
Closes #474
2025-04-14 23:51:35 +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
Yury Bura
a941c8e89c
Add BOOST_PROCESS_USE_STD_FS option
2025-04-14 23:46:36 +08:00
Klemens Morgenstern
89d2cc325a
Update index.html
...
Fixes #479
2025-04-11 23:31:02 +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
boost-1.88.0.beta1
boost-1.88.0
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
Klemens Morgenstern
d7df711628
remove :: from dirfd
...
closes #461
2025-02-27 10:12:55 +08:00
SimonMaracine
8ae055bfbd
Remove optional dependency on filesystem when not meant to be
...
Build previously failed when BOOST_PROCESS_USE_STD_FS was ON, because filesystem was linked to regardless.
2025-02-21 08:09:42 +08:00
Jonas Greitemann
ab28b511a9
fix v1 tests after v2 became the default
...
As of 2ccd97cd48 , v2 is the default when using the unversioned includes.
This broke the v1 tests which were still using those.
2025-02-21 08:08:36 +08:00
SimonMaracine
529fb1e222
Fix include directives from boost/process/posix/*.hpp having wrong paths
2025-02-21 08:08:17 +08:00
Jens Diewald
d534ed6c34
Fix small yet confusing Typo in Doc
2025-02-05 19:27:55 +08:00
Dirk Stolle
bb375f50bd
Fix several typos
2025-01-23 07:45:16 +08:00
Dirk Stolle
c329e05fb6
chore: remove executable flags from .cpp files
...
See <https://github.com/boostorg/admin/issues/47#issuecomment-2575165830 >.
[ci skip]
2025-01-21 21:55:11 +08:00
Ryan Zoeller
b781b49a97
doc: fix typo in stdio
2025-01-21 07:40:31 +08:00
Klemens Morgenstern
a2d2753aa8
zombie process fixes
...
closes #445 , #447
2025-01-13 09:31:48 +08:00
Klemens Morgenstern
1b5272a9e1
changed cwd comparison to equivalent.
2025-01-13 08:36:36 +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
Jonas Greitemann
4bb842564f
add a (failing) test for process_stdio move semantics
...
This test currently fails on POSIX, as `process_io_binding` does not
explicitly implement move operations but holds on to a file descriptor
which exhibits reference semantics and has a non-trivial destructor.
The same test should pass on Windows as the Windows implementation makes
use of `unique_ptr` which gives it correct move semantics by virtue of
the rule of zero.
2025-01-13 08:13:33 +08:00
Jonas Greitemann
359820097b
add test case for initializing process_stdio with complementary pipe ends
...
`process_stdio` holds on to the handles for `in`/`out`/`err`. In case of
pipes, `in` needs the handles of a `readable_pipe`, whereas `out` and
`err` need the handles of `writable_pipe`s. So far, the tests all create
a new pair using `connect_pipe`, pass the "correct" end into
`process_stdio`, and use the other end to interface with the process.
However, `process_io_binding` also supports construction from the
complementary pipe types, i.e., constructing `in`'s binding from a
`writable_pipe` and `out`/`err`'s bindings from `readable_pipe`s.
In this case, the constructor will create the corresponding pipe itself
and keep ownership of it. This mode was thus far not tested.
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