Klemens David Morgenstern
49ec65a735
updated yamls
2019-02-23 22:29:04 +08:00
Klemens David Morgenstern
7cdea96caf
added report-ci
2019-02-23 20:51:24 +08:00
Klemens Morgenstern
55e5d178bd
Merge pull request #67 from amensel/develop
...
Use the non-deprecated ASIO APIs.
2019-01-07 17:30:48 +07:00
Adam Mensel
54dd027a64
Use the non-deprecated ASIO APIs.
2019-01-04 11:57:47 -07:00
Klemens David Morgenstern
92c45f4b61
testing for actual timing
2018-12-14 23:33:26 +07:00
Klemens David Morgenstern
fce3962376
WNOHANG test
2018-12-11 21:58:17 +07:00
Klemens David Morgenstern
d4f7bfaa6c
double timeout for terminate...
2018-12-11 16:17:29 +07:00
Klemens David Morgenstern
bac06d2bc7
added timeout to terminate
2018-12-11 15:38:41 +07:00
Klemens David Morgenstern
579499d9e8
group_wait
2018-12-11 15:06:08 +07:00
Klemens David Morgenstern
b8c46bfc47
trying explicit alarm for osx
2018-12-11 14:36:04 +07:00
Klemens David Morgenstern
d234ce4f63
bumped up the log_level
2018-12-11 14:16:48 +07:00
Klemens David Morgenstern
e5eec4a5dc
updated develop thingy
2018-12-11 01:02:28 +07:00
Klemens David Morgenstern
0642bf5e70
added had SIGALARM For apple
2018-12-11 00:15:17 +07:00
Klemens David Morgenstern
49247f0a83
revamped async
2018-12-10 22:42:05 +07:00
Klemens David Morgenstern
956f7b5fdf
updated group_wait to remove wrong condition
2018-12-10 15:06:26 +07:00
Klemens David Morgenstern
40d0f8c401
trying to fix group wait
2018-11-20 20:40:44 +07:00
Klemens David Morgenstern
cbc7580fcd
updated ansi_apps by api-guard
2018-11-20 20:15:46 +07:00
Klemens David Morgenstern
f96dfd6e8f
typo fix
2018-11-15 15:55:47 +07:00
Klemens David Morgenstern
504e760760
added timeout to wait-test
2018-11-15 14:30:11 +07:00
Klemens David Morgenstern
c5e7cfb4f5
added called-bool & time out for exit_code test
2018-11-15 13:53:01 +07:00
Klemens David Morgenstern
9904e3a5e8
removed BOOST_TEST_IGNORE_SIGCHLD from test
2018-11-15 12:54:48 +07:00
Klemens David Morgenstern
82d4cef182
trying to queue process creation
2018-11-13 19:06:03 +07:00
Klemens David Morgenstern
5a112ea4bb
Merge branch 'develop' into travis_osx
...
# Conflicts:
# .travis.yml
# include/boost/process/detail/posix/wait_for_exit.hpp
# include/boost/process/detail/posix/wait_group.hpp
2018-11-13 17:47:41 +07:00
Klemens David Morgenstern
b058e1cadf
trying to remove BOOST_TEST_IGNORE_SIGCHLD
2018-11-13 16:57:06 +07:00
Klemens David Morgenstern
a8b28ef262
fixed timeout values
2018-11-13 14:57:29 +07:00
Klemens David Morgenstern
080f3fb074
checking if it's just an asio timing problem
2018-11-13 14:37:57 +07:00
Klemens David Morgenstern
997f10c7e9
fixed wrong timeout values
2018-11-13 14:20:39 +07:00
Klemens David Morgenstern
eafe8e327a
removed auto from lambdas
2018-11-13 13:49:28 +07:00
Klemens David Morgenstern
a4c89a3dec
added timeouts to async test
2018-11-13 13:30:14 +07:00
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
Klemens David Morgenstern
6abce365c5
started on asio_no_deprecated.cpp
2018-03-11 20:57:18 +01: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
klemens-morgenstern
18ab3ae8c1
fixed async_pipe to pipe conversion
2017-03-16 16:40:13 +01:00
klemens-morgenstern
3a733827eb
closes #74
2017-03-16 10:41:51 +01:00
Klemens Morgenstern
a410059f6b
Native environment fixes
2017-03-16 10:05:04 +01:00
klemens-morgenstern
b15530152a
added tests for environment (clear / erase)
2017-03-12 22:34:00 +01:00
klemens-morgenstern
d218ba7b48
added test for wchar_t conv & env.clear
2017-03-11 22:06:51 +01:00
klemens-morgenstern
cf2a196d40
attempted fix for appveyor build
2017-03-02 01:12:35 +01:00
klemens-morgenstern
843e56ec1a
minor cleanup
2017-03-02 00:16:05 +01:00
klemens-morgenstern
e4a00c9545
fixed cmd_test for windows
2017-03-01 23:42:41 +01:00
Klemens Morgenstern
55b338ab7c
Added test for cmd style
2017-03-01 22:58:50 +01:00
klemens-morgenstern
ed8ef66310
closes #60
2017-02-21 17:17:20 +01:00
klemens-morgenstern
663fc69691
Merge remote-tracking branch 'remotes/origin/pipe-fix2' into develop
2017-01-22 15:05:46 +01:00
Klemens Morgenstern
2cb340fb6a
Next attempt for OSX support
2017-01-22 14:55:59 +01:00
Klemens Morgenstern
30ebcfcda6
Modified delay values for test
2017-01-17 01:17:28 +01:00
klemens-morgenstern
fc601c2e31
added small test for clsoign stdin during run
2017-01-17 01:02:56 +01:00
klemens-morgenstern
6f61869867
updated CI files
2017-01-13 00:31:23 +01:00
klemens-morgenstern
a7d861d806
system-test2 fix && tab to space change
2016-12-05 20:03:31 +01:00
klemens-morgenstern
56044b1140
another system_test2 fix
2016-12-05 13:15:55 +01:00
klemens-morgenstern
c0130038e7
changed /boost/program_options to static
...
hopefully fixes appveyor error
2016-12-05 12:52:12 +01:00
klemens-morgenstern
52ee999d41
removed unused variable & hopefully fixed system test
2016-12-05 12:31:56 +01:00
klemens-morgenstern
f2b6cad7ee
nother async_pipe fix (multiple pipes)
2016-12-05 00:54:09 +01:00