Caleb Dechant
d78c7901b3
Revert async_pipe dtor to original
2017-11-05 11:48:20 -08: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
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
Egor Pugin
3e31d43d61
Fix access rights.
2017-07-24 00:27:17 +03:00
Klemens Morgenstern
085adc07ec
Merge pull request #12 from egorpugin/develop
...
Fix incorrect on_exit() callback called on any child exited.
2017-07-23 23:18:39 +02:00
Egor Pugin
8df9c467e5
Fix incorrect on_exit() callback called on any child exited.
2017-07-24 00:10:30 +03:00
Thomas Schaub
529d09f43b
Respect WIFSIGNALED
2017-07-19 12:00:44 +02:00
klemens-morgenstern
74dd6570e3
small fixes, closes #97
2017-05-07 12:44:38 +02:00
klemens-morgenstern
826177a12e
Merge branch 'develop' of github.com:boostorg/process into develop
...
# Conflicts:
# include/boost/process/detail/windows/search_path.hpp
2017-05-01 10:56:24 +02:00
Takeshi Abe
6a64b9e0bd
Allow const char * as throw_last_error()'s argument
2017-05-01 17:29:35 +09:00
klemens-morgenstern
ae2b0a9024
removed tabs
2017-04-23 19:16:39 +02:00
klemens-morgenstern
712ebf772b
changed search_path to use PATHEXT on windows, closes #91
2017-04-23 19:14:18 +02:00
klemens-morgenstern
7a99be71d3
tab fix
2017-04-23 17:46:18 +02:00
klemens-morgenstern
210efd8dc5
Merge branch 'async-pipe-fix' into develop
2017-04-23 17:43:42 +02:00
klemens-morgenstern
a25665aeff
removed merge error
2017-04-23 17:29:12 +02:00
klemens-morgenstern
ee4428c226
Merge branch 'whitespaces' into develop
...
# Conflicts:
# include/boost/process/io.hpp
2017-04-23 17:28:35 +02:00
klemens-morgenstern
74814e46c1
closes #90
2017-04-23 15:09:39 +02:00