2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-24 18:12:36 +00:00
Commit Graph

207 Commits

Author SHA1 Message Date
Lemmy
3cf4bf6480 Hope fully fixed group waiting 2018-09-25 17:32:32 +02:00
Klemens David Morgenstern
f139f863a0 typo fix in test 2018-09-25 16:10:11 +07:00
Lemmy
e72127f9f8 Implemented proper wait_for for group_handles 2018-09-25 10:27:40 +02:00
Klemens David Morgenstern
4f3b425073 fixed group-wait, finally 2018-09-25 02:37:51 +07:00
Klemens David Morgenstern
99285a9de6 fixed windows-h variant 2018-09-24 23:27:01 +07:00
Klemens David Morgenstern
6cc31b93d8 readded BOOST_WINAPI_WINAPI_CC 2018-09-24 23:10:33 +07:00
Klemens David Morgenstern
d1ce19d848 fixes #178 2018-09-21 10:48:03 +07:00
Alex Merry
ec04919825 Rename tests to reflect what they do 2018-02-22 14:32:54 +00:00
Klemens Morgenstern
40be786c43 Merge pull request #150 from amerry/async-exit-status
Return the same exit status in the async handler as the sync method
2018-02-22 13:43:06 +01:00
Klemens Morgenstern
d4a0444223 Merge pull request #147 from amerry/args
Always set arguments on POSIX
2018-02-22 13:05:33 +01:00
Alex Merry
ed32531369 Return the same exit status in the async handler as the sync method
Previously, if the process terminated via a signal on posix, the async
handler would provide an exit status of 0.
2018-02-22 11:53:42 +00:00
Alex Merry
a0ceebd59f Fix copyright headers
Insofar as there are copyrights on these changes, they are owned by my
employer, as I'm doing this on company time.
2018-02-22 09:02:02 +00:00
Alex Merry
cf1f904ae2 Fix compilation on MSVC 2018-02-21 15:53:46 +00:00
Alex Merry
8aaf53d76d Always set arguments on POSIX
Explicitly specifying an executable (either with boost::filesystem::path
or boost::process::exe) and no arguments causes NULL to be passed as the
argument list.

Not only is this unexpected behaviour for the child process (which
doesn't even have argv[0]), it is not portable across UNIX systems. From
the execve(2) man page on Linux:

"On Linux, either argv or envp can be specified as NULL, which has the
same effect as specifying these arguments as a pointer to a list
containing a single NULL pointer.  Do not take advantage of this
misfeature!  It is nonstandard and nonportable:  on  most other UNIX
systems doing this will result in an error (EFAULT)."
2018-02-21 15:43:32 +00:00
Alex Merry
76c03ded89 Add unit tests for async exit watching with multiple io_contexts
These tests fail without the commit "Only reap children we are watching
for when handling SIGCHLD" applied, and succeed with it applied.
2018-02-21 15:13:28 +00:00
Klemens David Morgenstern
08eaf8b7a1 added BOOST_NO_ANSI_APIS support, closes #26 2018-02-06 20:20:02 +01:00
Klemens David Morgenstern
0764f788a6 typo fix 2018-02-06 00:24:45 +01:00
Klemens David Morgenstern
a411f06dc4 Merge remote-tracking branch 'remotes/origin/master' into develop
# Conflicts:
#	test/Jamfile.jam
#	test/async_system_stackless.cpp
2018-02-02 22:37:32 +01:00
Klemens David Morgenstern
d085262076 added /bigobj flag for msvc 2018-02-02 22:14:42 +01:00
Klemens David Morgenstern
0396740467 splitted up the async_system tests 2018-02-02 21:52:14 +01:00
klemens-morgenstern
917030c3cd Merge branch 'develop' 2017-11-11 01:02:31 +01:00
Klemens Morgenstern
09e98d8746 Merge pull request #122 from egorpugin/develop
Fix multithreaded async pipes creation.
2017-11-05 13:47:56 -05:00
Egor Pugin
ab6e5b54ec Rename to io_context 2017-11-05 20:21:49 +03:00
klemens-morgenstern
bbfc334c93 split up the async_system test 2017-10-28 13:04:01 +02:00
klemens-morgenstern
1296e02372 Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop 2017-10-25 18:49:13 +02:00
klemens-morgenstern
585104605e removed variadic arg in test 2017-10-25 18:48:55 +02:00
Klemens Morgenstern
d0c07b7c63 Update windows_specific.cpp 2017-10-25 12:20:00 +02:00
Klemens Morgenstern
7c9ce7f8b9 Update exit_code.cpp 2017-10-25 10:55:40 +02:00
Klemens Morgenstern
c388f24d6e Update windows_specific.cpp 2017-10-25 10:53:46 +02:00
Christopher Kohlhoff
153e05eac0 Updates to compile against latest asio. 2017-10-23 21:23:44 +11:00
Egor Pugin
3f12d82e00 Rename io service. 2017-08-29 14:38:23 +03:00
Egor Pugin
e01c1e0d37 Rename test. 2017-08-29 14:34:35 +03:00
Egor Pugin
e2a2a57820 Fix multithreaded async pipes creation. 2017-08-29 14:19:21 +03:00
klemens-morgenstern
054d7980ab hopefully closes #106 2017-08-02 21:08:33 +02:00
Klemens Morgenstern
5b45fad163 Update wait.cpp
removed double wait
2017-08-02 09:27:38 +02:00
Klemens Morgenstern
e899189bf4 Update on_exit3.cpp
typo fix
2017-08-02 09:25:39 +02:00
klemens-morgenstern
241883c9e4 changed to use only one signal 2017-08-02 08:34:53 +02:00
Klemens David Morgenstern
99001ccb50 Fixed wait_for & wait_until, closes #11 2017-08-01 18:00:44 -04:00
klemens-morgenstern
83019b5f70 started on the wait for fix for posix 2017-08-01 19:35:55 +02:00
klemens-morgenstern
76418ca191 added wait_for and wait_until tests 2017-08-01 19:17:28 +02:00
klemens-morgenstern
f02e72304f seperated test-suites into valgrind / no-valgrind 2017-08-01 19:05:40 +02:00
Julien Schueller
66e576806f lowercase win32 header to fix cross-compilation 2017-07-31 22:27:39 +02:00
Egor Pugin
950f16fe42 Merge branch 'develop' of github.com-egorpugin:egorpugin/process into develop 2017-07-24 00:48:37 +03:00
Egor Pugin
225b322e56 Fix windows build. 2017-07-24 00:47:48 +03:00
Egor Pugin
3e31d43d61 Fix access rights. 2017-07-24 00:27:17 +03:00
Egor Pugin
8df9c467e5 Fix incorrect on_exit() callback called on any child exited. 2017-07-24 00:10:30 +03:00
Chris Glover
cf19c451fa Remove returns that were disabling wargs tests. 2017-05-10 08:51:31 -04:00
klemens-morgenstern
ba14d9f870 Normalize all the line endings 2017-04-23 14:48:16 +02:00
klemens-morgenstern
9cab8d455a Updated environment reset on windows 2017-03-19 18:04:38 +01:00
klemens-morgenstern
384e712912 added test file for async_pipe to repo 2017-03-16 16:57:42 +01:00