2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-19 04:22:15 +00:00

1326 Commits

Author SHA1 Message Date
Klemens Morgenstern
626dd5f1bc pty windows build fixes. 2024-10-29 23:10:53 +08:00
Klemens Morgenstern
e4070119ce added experimental pty 2024-10-29 12:29:26 +08:00
Samuel Venable
c8499e02c6 OpenBSD fix & Solaris fixes
[DragonFly BSD] Use Proper CWD From PID Code
2024-10-27 17:49:44 +08:00
Klemens Morgenstern
adf3d62786 changed error macros to require a ; at the end. 2024-10-27 12:54:16 +08:00
Klemens Morgenstern
22c2ad08c9 removed definition of NOMINMAX 2024-10-27 11:12:46 +08:00
Klemens Morgenstern
1bbdde8d04 reduced asio related macro usage. 2024-10-27 11:07:12 +08:00
Klemens Morgenstern
e0158d8006 added pthread to test linking for freebsd on v1 as well. 2024-10-25 17:01:59 +08:00
Klemens Morgenstern
07af239503 added pthread to test linking for freebsd 2024-10-25 16:46:00 +08:00
Klemens Morgenstern
8826a7502d add kvm to process target on bsd 2024-10-25 15:59:17 +08:00
Klemens Morgenstern
e1e594540f replaced deadline_timer with steady_timer. 2024-10-25 15:53:51 +08:00
Klemens Morgenstern
15d0275b87 remove test_impl lib 2024-10-25 12:04:52 +08:00
Klemens Morgenstern
1e41629759 unified cancellation on process.async_wait() 2024-10-25 11:47:16 +08:00
Klemens Morgenstern
7777db84a8 disabled /boost//coroutine dependent tests 2024-10-25 10:25:30 +08:00
Klemens Morgenstern
b20e874701 added test async_wait cancellation test. 2024-10-25 10:06:23 +08:00
Klemens Morgenstern
606d4d89e4 typo fixes. 2024-10-25 10:05:58 +08:00
Klemens Morgenstern
05e8eb3005 removed filesystem from the compiled lib.
Shuold fix #390.
2024-10-25 09:32:39 +08:00
Klemens Morgenstern
efd5cc85a5 Wrapped proc_info.h functions with IOS check. Using the ext functions will yield a operation_not_supported at runtime.
Closes #401.
2024-10-25 09:09:08 +08:00
Klemens Morgenstern
e68491df4d Switched #error to ENOTSUP for ext libs. Should help #413
Closes #358.
2024-10-25 08:13:48 +08:00
Klemens Morgenstern
02044bcad7 Typo fix.
Closes #365
2024-10-25 07:49:56 +08:00
Klemens Morgenstern
41a4a5acc9 Added BOOST_PROCESS_V2_POSIX_FORCE_DISABLE_CLOSE_RANGE
Implements #378.
2024-10-25 07:42:18 +08:00
Klemens Morgenstern
fae23e60b1 Applying @sehe's patch.
closes #317
2024-10-25 07:21:51 +08:00
Samuel Venable
34cfc32311 [DragonFly BSD] Use Proper CWD From PID Code 2024-10-25 07:01:56 +08:00
Brad Smith
4d28e34dfa 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-25 07:00:58 +08:00
Klemens Morgenstern
0501b88d7e removed more faulty V2_DECLs 2024-10-25 06:55:04 +08:00
Julien Schueller
9515f4e1df 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-25 06:53:11 +08:00
Benjamin Buch
26906fe9f9 remove dllimport from utf8.hpp to fix MSVC build 2024-10-25 06:49:39 +08:00
René Ferdinand Rivera Morell
e8b59f66e6 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-08-26 20:05:48 +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