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 Morgenstern
d4a0444223
Merge pull request #147 from amerry/args
...
Always set arguments on POSIX
2018-02-22 13:05:33 +01: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
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
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
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
Egor Pugin
225b322e56
Fix windows build.
2017-07-24 00:47:48 +03:00
Egor Pugin
8df9c467e5
Fix incorrect on_exit() callback called on any child exited.
2017-07-24 00:10:30 +03:00
klemens-morgenstern
18ab3ae8c1
fixed async_pipe to pipe conversion
2017-03-16 16:40:13 +01:00
klemens-morgenstern
843e56ec1a
minor cleanup
2017-03-02 00:16:05 +01:00
Klemens Morgenstern
55b338ab7c
Added test for cmd style
2017-03-01 22:58:50 +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
3edeb104f9
made vfork explicit target
2016-12-04 14:31:31 +01:00
klemens-morgenstern
e79c9d4322
removed valgrind and added vfork back in
2016-12-04 14:19:11 +01:00
klemens-morgenstern
f70f61ccd1
added experimental asnyc_system
2016-12-04 03:57:30 +01:00
klemens-morgenstern
cceb5bf702
added extensions
2016-11-28 20:41:00 +01:00
klemens-morgenstern
b951e5f4d2
modified search_path signature & impl
2016-11-06 16:38:03 +01:00
klemens-morgenstern
585002a916
added pipe fix on windows
2016-11-05 23:51:51 +01:00
klemens-morgenstern
27ff6315e1
made example buildable
2016-10-23 02:00:21 +02:00
klemens-morgenstern
ed794fb1b4
fixed terminate
2016-10-22 13:48:12 +02:00
Jens Frederich
dde3365d97
fix function succeeds, return value is nonzero; define Windows SDK version as b2 parameter
...
Signed-off-by: Jens Frederich <jfrederich@gmail.com >
2016-10-20 14:19:20 +02:00
Jens Frederich
d326a4926d
fix warnings
...
Signed-off-by: Jens Frederich <jfrederich@gmail.com >
2016-10-20 13:12:23 +02:00
klemens-morgenstern
3123030ab4
updated tests
2016-10-03 03:02:03 +02:00
klemens-morgenstern
ffb4e324eb
added prototype for wchar_t version
2016-09-25 16:51:28 +02:00
klemens-morgenstern
48578d71d2
fixed streambuf
2016-09-17 22:35:34 +02:00
klemens-morgenstern
6448d5887a
disabled vfork test again
2016-07-11 12:57:41 +02:00
klemens-morgenstern
4a2df9c388
fixed system (at least on windows)
2016-07-11 01:17:35 +02:00
klemens-morgenstern
2aa084e4aa
added coroutine
2016-07-10 02:17:54 +02:00
Klemens Morgenstern
bc432095eb
Removed vfork test
2016-06-18 00:47:28 +02:00
klemens-morgenstern
760b0887d6
Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop
...
# Conflicts:
# include/boost/process/detail/posix/executor.hpp
# test/Jamfile.jam
2016-06-17 20:43:47 +02:00
Klemens Morgenstern
943cbb1039
added vfork option
2016-06-17 19:26:46 +02:00
klemens-morgenstern
ee3d4841b3
Merge branch 'spawn' of github.com:klemens-morgenstern/boost-process into spawn
2016-06-17 00:39:06 +02:00
klemens-morgenstern
94571e8b89
removed no_wait_ios & forbid asyncs for spawn
2016-06-17 00:38:52 +02:00
Klemens Morgenstern
9abada7c45
Fixed Linux side
2016-06-13 01:38:17 +02:00
klemens-morgenstern
0964b4216a
changed wrong commit of jam and fixed includes
2016-06-13 00:58:16 +02: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
f6022383a0
implemented proper error handling
...
- removed tabs for spaces
- added error_code overloads
2016-06-11 20:22:59 +02:00
klemens-morgenstern
b5180b869b
small fix and updated examples
2016-06-04 21:10:13 +02:00
klemens-morgenstern
4cf3407992
added test for args/cmd parsing
2016-06-04 16:46:59 +02:00
klemens-morgenstern
3d46e192be
added tests for pipes and file I/O.
2016-06-04 14:19:19 +02:00
klemens-morgenstern
226c04c001
fixed tests.
2016-06-01 00:56:08 +02:00
klemens-morgenstern
c0b583328d
added shell
2016-05-30 21:41:53 +02:00
klemens-morgenstern
32cf00f05c
fixed wrong jamfile commit
2016-05-25 18:09:57 +02:00
klemens-morgenstern
6869e16a15
fixed some tests
2016-05-25 15:11:49 +02:00