Klemens Morgenstern
d2265890bd
Merge pull request #138 from markus-t314/consistent_wait_handling
...
Fixed inconsistent posix-wait-handling
2018-02-05 23:42:04 +01:00
Klemens Morgenstern
831d49c1b3
Merge pull request #137 from markus-t314/fix_issue136
...
Fix: [posix] inconsistent exit status when child received signal #136
2018-02-05 23:38:59 +01:00
Klemens Morgenstern
6935c53510
Merge pull request #132 from egorpugin/patch-1
...
Fix initialization of atomic var. This fixes mingw build.
2018-02-05 23:34:11 +01:00
Klemens David Morgenstern
f30d90a179
Merge remote-tracking branch 'remotes/boostorg/develop' into develop
2018-02-05 23:32:17 +01:00
Markus Tillinger
342554b3d8
Fixed inconsistent posix-wait-handling
...
Refactored: Removed duplicated code
Made wait_until compatible with steady_clock
2018-02-03 22:11:37 +01:00
Markus Tillinger
7aa812a0e1
Fix: [posix] inconsistent exit status when child received signal #136
2018-02-03 17:47:14 +01:00
hrayrbabajanyan
ba790dad0a
eval_exit_status would return 0 in case if the child received SIBABRT
2018-02-01 02:53:24 +04:00
Adrian Imboden
444d5eb702
fix use of uninitalized variable
2018-01-06 13:36:42 +01:00
Egor Pugin
3e12e989ab
Fix initialization of atomic var. This fixes mingw build.
2018-01-06 14:04:32 +03:00
Klemens Morgenstern
faf848bd8b
Merge pull request #125 from ca-l-eb/fixes
...
Fix async_pipe reassignment and child_decl
2017-11-05 15:39:13 -05:00
Caleb Dechant
d78c7901b3
Revert async_pipe dtor to original
2017-11-05 11:48:20 -08: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
b268e0e1fb
Change atomic var to size_t.
2017-11-05 17:28:42 +03:00
Caleb Dechant
996f4b357c
Fix child_decl's move constructor
...
The _terminated field is now copied from the moved child.
2017-11-04 17:25:00 -07:00
Caleb Dechant
8ce3e760dc
Fix async_pipe move assignment and destructor
...
Simplify async_pipe's move assignment so it now properly closes the old
pipe handles by swapping the asio stream_descriptors.
Reassigning async_pipes previously raised exceptions complaining about
EBADF or EEXIST. I think the ::close calls in the destructor and the
move assignment were not closing the pipe correctly.
2017-11-04 17:22:15 -07:00
Caleb Dechant
337a6e3e83
Fix move assignment for child
...
_terminate field is now copied from the move assingment operator on
child. This fixes the issue that a child process could previously only
be terminated() once (even after reassignment).
2017-11-02 16:03:05 -07:00
klemens-morgenstern
b1f50e953b
some additions attempted fixes for the windows part
2017-10-25 09:07:23 +02:00
klemens-morgenstern
852d8f3d9d
renamed windows/io_service_ref.hpp
2017-10-24 23:54:58 +02:00
klemens-morgenstern
2c026e43a8
removed constness for gcc 4.8
2017-10-24 23:17:42 +02:00
klemens-morgenstern
51396227a0
renamed native() to native_handle()
2017-10-24 23:15:53 +02:00
klemens-morgenstern
75d3049199
Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop
2017-10-24 22:36:48 +02:00
Klemens Morgenstern
3d9a8b2353
Merge pull request #22 from Lastique/update_winapi
...
Update Boost.WinAPI usage to the new location and namespace
2017-10-24 16:35:40 -04:00
Andrey Semashev
d9231d466c
Updated Boost.WinAPI usage to the new location and namespace.
2017-10-24 23:27:56 +03:00
Christopher Kohlhoff
153e05eac0
Updates to compile against latest asio.
2017-10-23 21:23:44 +11:00
Klemens Morgenstern
883b6ac937
Merge pull request #15 from ganboing/develop
...
fix uninitialized variable and close(-1) behavior
2017-10-22 15:41:53 -04:00
Klemens Morgenstern
764fff1f65
Merge pull request #17 from gevorgvoskanyan/search_path_unused_var
...
remove unused variable in boost::process::detail::posix::search_path()
2017-10-22 15:35:58 -04:00
Gevorg Voskanyan
6adf1bf545
fix param path comment for search_path()
2017-10-22 23:20:02 +04:00
Gevorg Voskanyan
126659f2f9
remove unused variable in boost::process::detail::posix::search_path()
2017-10-22 22:50:45 +04:00
Gevorg Voskanyan
63952fa2a6
s/seperated/separated
2017-10-22 22:20:27 +04:00
Bo Gan
2f00162817
fix uninitialized variable and close(-1) behavior
2017-09-12 12:37:20 -07:00
Egor Pugin
c2602e86e9
Make counter 64 bits.
2017-08-29 14:20:51 +03:00
Egor Pugin
e2a2a57820
Fix multithreaded async pipes creation.
2017-08-29 14:19:21 +03:00
Klemens Morgenstern
547c04fc1f
Updated vfork check
2017-08-22 22:02:48 +02:00
Klemens Morgenstern
79e26878b1
Strange typo fix
...
Trying to fix #118
2017-08-22 18:24:53 +02:00
sehe
3ab038fc0f
fix rdbuf() implementation on pipe
2017-08-22 09:56:44 +02:00
Klemens Morgenstern
66989a25f2
Update wait_group.hpp
2017-08-02 22:23:09 +02:00
klemens-morgenstern
054d7980ab
hopefully closes #106
2017-08-02 21:08:33 +02:00
Klemens Morgenstern
4c6b0fff2a
Merge pull request #115 from klemens-morgenstern/sigchld_service
...
Sigchld service
2017-08-02 13:50:09 +02:00
Klemens Morgenstern
449eef0b98
Update async.hpp
2017-08-02 09:37:06 +02:00
Klemens Morgenstern
264b517b38
Update async.hpp
2017-08-02 09:35:41 +02:00
klemens-morgenstern
aeee4e5dbb
windows wait_for fix
2017-08-02 08:31:30 +02:00
Klemens David Morgenstern
e08e095fd1
WEXITSTATUS fix
2017-08-02 01:52:58 -04:00
Klemens David Morgenstern
da34b4020d
Trying to get the sigchld-service to work
2017-08-01 18:41:55 -04:00
Klemens David Morgenstern
99001ccb50
Fixed wait_for & wait_until, closes #11
2017-08-01 18:00:44 -04:00
klemens-morgenstern
f402f48138
started on sigchld_service.hpp
2017-08-01 20:58:09 +02:00
klemens-morgenstern
1960360099
typo fixes
2017-08-01 20:07:22 +02:00
klemens-morgenstern
83019b5f70
started on the wait for fix for posix
2017-08-01 19:35:55 +02:00
Klemens Morgenstern
15445fd2bf
Merge pull request #110 from thomasschaub/develop
...
Respect WIFSIGNALED in all relevant places
2017-07-25 20:27:13 +02:00
Thomas Schaub
062b26e046
Avoid string charset conversion
2017-07-25 18:12:13 +02:00
Thomas Schaub
bb0fe86292
Respect WIFSIGNALED in all relevant places
...
Was only respected for one `waitpid` call
2017-07-25 18:01:53 +02:00