2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-19 16:32:15 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
Klemens Morgenstern
610b337fa3 Drone & Multple fix (#250)
Squash after invalid branch & merge conflict.

* Fixed file_descriptor move assignment operator to return a reference to 'this'. Issue # 219

* Returning *this instead of erroneous *this. Issue # 219

* Removed unneeded WNOHANG.

* Closes boostorg/process#190

* Closes boostorg/process#121

* Attempting to fix wchar_t build error on circle.

* Closes boostorg/process#197.

* Changed child(pid_t) signature.

* Multiple fixes.

* Closes boostorg/process#189.

* Closes boostorg/process#191.

* Added missing work guard on windows.

* Trying to catch windows early complete.

* Increased log level on windows.

* Multiple windows test fixes

* Removed overly constraint tests.

* fix missing headers

* Closes klemens-morgenstern/boost-process#218

* Update executor.hpp

explicit cast to int to silence this: `error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'int' in initializer list [-Wc++11-narrowing]`

* Fix posix implementation of move constructor/assignment in file_descriptor

* Adjust docs `@boost` relative paths

* Fixed UB for large environment names.

* Closes boostorg/process#207.

* Drone setup

* Added include for filesystem::fstream.

* Disabled useless tests.

* Fixed environment length checks.

* Pipe test & warning fixes.

* Disabled warnings & added windows include fix.

* More test fixes.

* Removed some tests from apple build.

* Removed some tests from apple build.

* Disabled OSX tests via build script & fixed windows examples.

* TSA fix attempt.

Co-authored-by: James Baker <james.baker@bullochtech.com>
Co-authored-by: silent <silent@symica.com>
Co-authored-by: ikrijan <62850248+ikrijan@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
Co-authored-by: alandefreitas <alandefreitas@gmail.com>
2022-05-19 17:00:15 +08:00
Klemens Morgenstern
4cadf1d333 Multiple windows test fixes 2022-05-18 21:15:44 +08:00
Klemens
1f464b3eb5 Closes boostorg/process#189. 2022-05-18 21:15:44 +08:00
Michael Jones
1df2e67bc4 Fix "comparison between signed and unsigned" warning 2020-03-13 01:18:11 -05:00
Klemens David Morgenstern
7129182044 ci fixes - the similtaneous wait doen't work on osx 2019-04-07 02:03:08 +08:00
Klemens David Morgenstern
4bc1ae6ff8 added async fix & fixed dangling develop workaroudn for async_pipe copy 2019-04-07 00:21:27 +08:00
Klemens David Morgenstern
06747d7dd3 added test suites 2019-02-25 00:04:09 +08: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
cbc7580fcd updated ansi_apps by api-guard 2018-11-20 20:15:46 +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
Alex Merry
ec04919825 Rename tests to reflect what they do 2018-02-22 14:32:54 +00: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
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
Christopher Kohlhoff
153e05eac0 Updates to compile against latest asio. 2017-10-23 21:23:44 +11:00
klemens-morgenstern
ba14d9f870 Normalize all the line endings 2017-04-23 14:48:16 +02:00
klemens-morgenstern
3a733827eb closes #74 2017-03-16 10:41:51 +01:00
klemens-morgenstern
ed8ef66310 closes #60 2017-02-21 17:17:20 +01:00
Klemens Morgenstern
2cb340fb6a Next attempt for OSX support 2017-01-22 14:55:59 +01:00
klemens-morgenstern
a7d861d806 system-test2 fix && tab to space change 2016-12-05 20:03:31 +01:00
klemens-morgenstern
176437d789 added workaround for system 2016-12-04 21:03:29 +01:00
klemens-morgenstern
4f0444a06b another typo fix 2016-12-04 15:16:20 +01:00
klemens-morgenstern
35ed7fdcc0 workaround for async on posix 2016-12-04 14:58:11 +01:00
klemens-morgenstern
c5d3937e9a added test for on_exit(future<int>()) 2016-11-06 15:44:28 +01:00
klemens-morgenstern
334d97eb55 added new version of spawm/system 2016-06-13 00:50:20 +02:00
Klemens Morgenstern
84e01e19e3 Implemented proper error handling on linux 2016-06-12 01:28:51 +02:00
klemens-morgenstern
1481789946 cleanup & restructured the calls 2016-05-30 20:31:36 +02:00
klemens-morgenstern
6869e16a15 fixed some tests 2016-05-25 15:11:49 +02:00
klemens-morgenstern
a7a88e08a4 initial commit of new pipe structure 2016-05-23 23:45:02 +02:00
Klemens Morgenstern
f3426a6b6f Updated tests to fit terminate on dtor 2016-05-18 22:39:42 +02:00
Klemens Morgenstern
d920d1f110 Prototype of posix implementation 2016-04-18 11:44:39 +02:00
klemens-morgenstern
0e0a68cd08 compiling version 2016-04-15 12:10:52 +02:00
klemens-morgenstern
9f1ef0509a async handling workign 2016-04-15 00:32:34 +02:00
klemens-morgenstern
46afca8239 fixed run_exe 2016-04-14 15:25:55 +02:00
klemens-morgenstern
3f0fbff896 added async_pipe - untested 2016-04-09 20:26:02 +02:00
klemens-morgenstern
11d56e28eb cleaned up async stuff 2016-04-09 13:54:52 +02:00
klemens-morgenstern
e7c7be6ad3 reduced complex async.cpp 2016-04-07 19:19:24 +02:00
klemens-morgenstern
464f8be9f5 test fix 2016-04-06 01:19:18 +02:00
klemens-morgenstern
6411752abb finished alpha of async 2016-04-06 01:15:46 +02:00
klemens-morgenstern
bc928bc6e5 working async-buffer out 2016-04-04 10:44:23 +02:00
klemens-morgenstern
724370a35d not working, but also non-crashing async-io 2016-04-04 10:16:59 +02:00
klemens-morgenstern
d206ce7b91 progress on async, on_exit works now. 2016-04-03 16:39:12 +02:00