Klemens Morgenstern
817128108a
changed error macros to require a ; at the end.
2024-10-30 09:05:20 +08:00
Klemens Morgenstern
941e93b587
removed definition of NOMINMAX
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
e827d14542
reduced asio related macro usage.
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
f218a6a6c1
added pthread to test linking for freebsd on v1 as well.
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
11a0d0d7c1
added pthread to test linking for freebsd
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
fdfb5043cb
add kvm to process target on bsd
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
e46a514629
replaced deadline_timer with steady_timer.
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
36954338d8
remove test_impl lib
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
a44fd24523
unified cancellation on process.async_wait()
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
eb6b49c090
disabled /boost//coroutine dependent tests
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
928674d2e3
added test async_wait cancellation test.
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
894f371898
typo fixes.
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
7ed1648032
removed filesystem from the compiled lib.
...
Shuold fix #390 .
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
a96f7a04e0
Wrapped proc_info.h functions with IOS check. Using the ext functions will yield a operation_not_supported at runtime.
...
Closes #401 .
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
46b71d5e96
Switched #error to ENOTSUP for ext libs. Should help #413
...
Closes #358 .
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
9f104634a9
Typo fix.
...
Closes #365
2024-10-30 08:09:28 +08:00
Klemens Morgenstern
c492c93062
Added BOOST_PROCESS_V2_POSIX_FORCE_DISABLE_CLOSE_RANGE
...
Implements #378 .
2024-10-30 08:09:27 +08:00
Klemens Morgenstern
12192d35d3
Applying @sehe's patch.
...
closes #317
2024-10-30 08:09:27 +08:00
Samuel Venable
f741b0d120
[DragonFly BSD] Use Proper CWD From PID Code
2024-10-30 08:09:27 +08:00
Brad Smith
211a3134b6
Fix building on OpenBSD
...
OpenBSD does not have close_range() nor does NetBSD.
OpenBSD needs environ like the other *BSD's.
The build was erroring on kp_pid, it looks like p_pid is appropriate.
2024-10-30 08:09:27 +08:00
Klemens Morgenstern
642bd7cf5c
removed more faulty V2_DECLs
2024-10-30 08:09:27 +08:00
Julien Schueller
8df45b8f68
Fix undefined reference to ws2_32
...
else it fails to link on mingw:
```
process_handle_windows.o:process_handle_windows.cpp:(.text+0x25): undefined reference to `_imp__WSACleanup@0'
```
2024-10-30 08:09:27 +08:00
Benjamin Buch
54479a7372
remove dllimport from utf8.hpp to fix MSVC build
2024-10-30 08:09:27 +08:00
René Ferdinand Rivera Morell
9761be99bb
Add support for modular build structure. ( #389 )
...
* Make the library modular usable.
* Switch to library requirements instead of source. As source puts extra source in install targets.
* Add requires-b2 check to top-level build file.
* Add missing test deps.
* Bump B2 require to 5.2
* Fix duplicate def of boost.process.fs feature.
* Add missing boost_test dependency.
* Move inter-lib dependencies to a project variable and into the build targets.
* Switch to /boost/test//included target for header only mode of Boost.Test.
* Adjust doc build to avoid boost-root references.
* Update build deps.
* Fix link and build of deps.
2024-10-30 08:09:27 +08:00
Klemens Morgenstern
e5e898f363
fixed v1 reference include.
2024-09-26 18:48:51 +08:00
Jackarain
9561ebad1c
Fix mingw cross-compile
boost-1.86.0
2024-07-31 08:19:56 +08:00
Klemens Morgenstern
755a3ec78d
fixed dll symbokl export on windows & clean up jamfile.
boost-1.86.0.beta1
2024-07-24 10:12:10 +08:00
Klemens Morgenstern
5f80218655
added CLOSE_RANGE_UNSHARE defined for syscall of close_range.
2024-07-20 08:25:10 +08:00
Ruben Perez
3719df39cd
Alpine-Linux CI
2024-07-20 08:25:10 +08:00
Klemens Morgenstern
67a2f97633
fixes include of gnu/libc-version.h
...
closes #386
2024-07-19 09:17:06 +08:00
Klemens Morgenstern
8b3e90234b
b2 link fixes.
2024-07-12 09:03:08 +08:00
Klemens Morgenstern
8044857bb9
c++14 constexpr fixes for environment_win.
2024-07-12 09:03:08 +08:00
zhixingchen
414d0d6b84
FIX: fix the function call with error code
2024-07-04 19:17:17 +08:00
Klemens Morgenstern
2c372461e8
added link to ntdll.
2024-07-03 18:18:02 +08:00
Klemens Morgenstern
2b436127ee
added WinSock.h include workarounds.
2024-07-03 16:36:31 +08:00
Klemens Morgenstern
c342762484
added Boost::filesystem dependency to build scripts.
2024-07-03 10:32:49 +08:00
Klemens Morgenstern
c2da58e548
added exit_code timeout.
2024-07-02 21:06:23 +08:00
Klemens Morgenstern
aea22dbf6b
added musl workaround.
2024-07-02 21:06:23 +08:00
Klemens Morgenstern
084a85fc6e
switched to run_for in exit_code.cpp.
2024-07-02 21:06:23 +08:00
Klemens Morgenstern
2171367d97
added completion to spawn in tests.
2024-07-02 21:06:23 +08:00
Klemens Morgenstern
67a92df441
fixed missing return.
2024-07-02 21:06:23 +08:00
Klemens Morgenstern
c773ee16cf
replaced v2 .ipp with lib.
2024-07-02 21:06:23 +08:00
Klemens Morgenstern
274fc3163a
minor process_handle_fd.hpp fix.
2024-07-02 21:06:23 +08:00
Klemens Morgenstern
44cae64d49
minor fixes.
2024-07-02 21:06:23 +08:00
Klemens Morgenstern
55e2460967
moved v1 to v1 inline namespace.
2024-07-02 21:06:23 +08:00
Klemens Morgenstern
bcdd91188c
move everything v1 to v1 folders
2024-07-02 21:06:23 +08:00
Daniel Klauer
e455a12e2c
posix: Add test for pipe fd leak if redirecting both stdout and stderr
...
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de >
2024-06-04 08:54:21 +08:00
Daniel Klauer
e8b5bf17f0
posix: Fix pipe fd leak if redirecting both stdout and stderr
...
This re-adds the close(source) call which already existed here before
commit caa7b2fcc8 . pipe_out already closes the source fd when redirecting
stdout or stderr, it was just missing when redirecting both at once.
The pipe fds must be closed after redirecting to avoid keeping the pipe
open unnecessarily, for example the parent may want to close their end of
the pipe.
Closes: https://github.com/boostorg/process/issues/353
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de >
2024-06-04 08:54:21 +08:00
Orgad Shaneh
20510abc65
Doc: Add missing ctor param in example
2024-06-04 08:20:11 +08:00
Daniel Klauer
0058a9c69f
posix: Fix exec error reporting with limit_handles
...
_pipe_sink was assigned after call_on_setup(), after limit_fd_::on_setup(),
but this was too late. It must be assigned earlier so that
executor::get_used_handles() can see it and prevent limit_handles from
closing the internal pipe for passing exec() errors from child to parent.
Fixes: 1a1d677d
Closes: https://github.com/boostorg/process/issues/202
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de >
2024-06-04 08:19:54 +08:00