Commit Graph

492 Commits

Author SHA1 Message Date
klemens-morgenstern
8ffc6c5ec2 removed a warning for msvc 2016-11-06 00:24:52 +01:00
klemens-morgenstern
0e3fa94924 start on posix impl of pipe fix. 2016-11-06 00:16:55 +01:00
klemens-morgenstern
585002a916 added pipe fix on windows 2016-11-05 23:51:51 +01:00
klemens-morgenstern
e150494721 added exception header 2016-11-05 16:04:54 +01:00
klemens-morgenstern
ff36887fdf added process_error class 2016-11-05 16:00:06 +01:00
Klemens Morgenstern
06f3bb237e Fixed async_pipe move assign 2016-11-01 01:20:41 +01:00
Gavin Lambert
5c386eab22 Fix basic_pipe move constructor 2016-11-01 13:04:25 +13:00
klemens-morgenstern
27431f3b35 small doc fix 2016-10-28 09:49:40 +02:00
klemens-morgenstern
6fc0f455df doc repair for posix 2016-10-27 22:35:24 +02:00
klemens-morgenstern
c86c938b28 updated doc 2016-10-27 22:28:41 +02:00
Klemens Morgenstern
39c8448310 fixed env-init for posix 2016-10-26 14:11:25 +02:00
klemens-morgenstern
37f016eaed yet another typo fix 2016-10-26 13:24:59 +02:00
klemens-morgenstern
3c285c04e7 typo fixes 2016-10-26 12:21:55 +02:00
klemens-morgenstern
b619f69a05 another doc & typo fix 2016-10-26 12:02:33 +02:00
klemens-morgenstern
54394c6275 updated doc & fixed env path seperator 2016-10-26 11:45:14 +02:00
klemens-morgenstern
91d1b1604f fixed child(pid) ctor 2016-10-25 00:22:25 +02:00
klemens-morgenstern
27ff6315e1 made example buildable 2016-10-23 02:00:21 +02:00
klemens-morgenstern
d7ff198dc0 updated examples 2016-10-23 01:38:14 +02:00
Klemens Morgenstern
1c0f992721 Fixed terminate for posix 2016-10-22 14:45:48 +02:00
klemens-morgenstern
ed794fb1b4 fixed terminate 2016-10-22 13:48:12 +02:00
klemens-morgenstern
292ef93535 fixed pedantic warnings for mingw 2016-10-20 22:11:38 +02:00
klemens-morgenstern
72ea6d7f18 another small typo fix 2016-10-20 22:08:48 +02:00
klemens-morgenstern
df4431afab fixed stupid copy & paste error 2016-10-20 21:56:00 +02:00
klemens-morgenstern
f5efcf4e8f removed a few more msvc warnings 2016-10-20 21:53:02 +02:00
klemens-morgenstern
fba709f789 implemented rvalue qualifications 2016-10-20 21:38:23 +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
4a913b3e10 on_exit fix - hopefully 2016-10-18 12:48:45 +02:00
klemens-morgenstern
07dd843c5f updated doc
moved all essential information to the reference and build a straight-forward tutorial.
2016-10-18 01:38:02 +02:00
klemens-morgenstern
bc3dffe671 fixed on_exit duplicate 2016-10-17 20:26:34 +02:00
klemens-morgenstern
ab44e76d26 moved property informations to reference 2016-10-17 20:06:15 +02:00
klemens-morgenstern
4dbc1fa205 null fix posix 2016-10-15 19:32:45 +02:00
klemens-morgenstern
72616e3b10 typo fixes 2016-10-15 15:06:52 +02:00
klemens-morgenstern
adb3d41308 implemented @chriskohlhoff wishes - sort of 2016-10-15 14:48:16 +02:00
Klemens Morgenstern
8addad8d79 Merge pull request #24 from klemens-morgenstern/test-devel
Added tests & `wchar_t` support.
2016-10-15 01:44:19 +02:00
klemens-morgenstern
34bedcbb0a env fix on windows 2016-10-15 00:01:38 +02:00
klemens-morgenstern
60f6181641 made initializer-list explicit 2016-10-12 15:58:07 +02:00
klemens-morgenstern
c9dd42ef2f added test if PATH is empty && added missing initialization 2016-10-10 11:26:23 +02:00
klemens-morgenstern
9dc12f5367 add fix for exe with space 2016-10-09 23:23:43 +02:00
Klemens Morgenstern
33c79f0e85 Fix on posix 2016-10-09 23:06:30 +02:00
Bradley A Smith
f61b04e0ef Fix move-to-self error in env_builder 2016-10-07 11:22:24 -07:00
klemens-morgenstern
4e0f65c02b fixed char_convs ref & trait 2016-10-03 13:07:10 +02:00
klemens-morgenstern
1f53fc4cca updated and added tests 2016-10-03 03:01:01 +02:00
klemens-morgenstern
0af50c6d10 added tests and fixed compare_handles on windows 2016-10-02 14:58:23 +02:00
klemens-morgenstern
c8e4ecc89c fixed typo 2016-09-26 10:55:24 +02:00
klemens-morgenstern
9ddc5a3282 Merge branch 'codecvt' of github.com:klemens-morgenstern/boost-process into codecvt 2016-09-26 10:53:56 +02:00
klemens-morgenstern
5ef105b500 added switch for BOOST_NO_ANSI_APIS 2016-09-26 10:53:39 +02:00
Klemens Morgenstern
e7d6eec25f Fixed wchar_t stuff on posix 2016-09-26 01:40:06 +02:00
klemens-morgenstern
21bd787023 added cmd-converter && worked on posix stuff 2016-09-26 00:24:38 +02:00
klemens-morgenstern
ffb4e324eb added prototype for wchar_t version 2016-09-25 16:51:28 +02:00
klemens-morgenstern
1ea77b8ad9 strated on traits etc. 2016-09-19 16:58:48 +02:00
klemens-morgenstern
ba2fb1f8f7 added locale & environment wchar_t variant for posix (untested) 2016-09-18 22:24:16 +02:00
klemens-morgenstern
739750b93b added locale & wchar_t trait 2016-09-18 01:43:50 +02:00
klemens-morgenstern
48578d71d2 fixed streambuf 2016-09-17 22:35:34 +02:00
klemens-morgenstern
b415870d31 Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop 2016-09-14 17:21:08 +02:00
klemens-morgenstern
367efff216 added inline where missing 2016-09-14 17:20:51 +02:00
Klemens Morgenstern
4d679fb256 made includes posix conforming 2016-08-25 11:18:25 +02:00
klemens-morgenstern
b3f0c6c446 fixed args+=string() 2016-08-24 13:17:02 +02:00
klemens-morgenstern
64e1b9206a fixed args+=vector<string>(). 2016-08-23 23:01:50 +02:00
klemens-morgenstern
8207e93901 added pipe test & added doc 2016-07-12 22:18:44 +02:00
klemens-morgenstern
bd554a3316 fixed startupfino problem. 2016-07-11 17:16:00 +02:00
klemens-morgenstern
be4dc0d84a windows fix 2016-07-11 12:55:52 +02:00
Klemens Morgenstern
d807e455d6 Fixed system for linux 2016-07-11 11:57:31 +02:00
klemens-morgenstern
4a2df9c388 fixed system (at least on windows) 2016-07-11 01:17:35 +02:00
klemens-morgenstern
99b1aaa50d modified assertion 2016-07-10 12:50:08 +02:00
klemens-morgenstern
390d497e26 fix of signal & fork use. 2016-07-10 02:45:04 +02:00
klemens-morgenstern
2aa084e4aa added coroutine 2016-07-10 02:17:54 +02:00
klemens-morgenstern
5105c7c647 changed signal-reset style 2016-07-02 13:42:20 +02:00
klemens-morgenstern
768b5e38f4 template IoService, so the fwd-declaration works 2016-07-02 12:32:48 +02:00
klemens-morgenstern
5e22e609ec added explicit 2016-06-23 18:08:46 +02:00
klemens-morgenstern
bf5140650a Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop 2016-06-19 23:57:14 +02:00
klemens-morgenstern
a1fd194953 updated to new winapi version 2016-06-19 23:57:02 +02:00
Klemens Morgenstern
c0137787d4 Major fix for vfork & error handling 2016-06-18 00:17:10 +02:00
Klemens Morgenstern
c31f69725c Fixed shell 2016-06-17 23:11:08 +02:00
Klemens Morgenstern
cb2753f887 Correct use_vfork.hpp 2016-06-17 22:15:35 +02:00
klemens-morgenstern
a1b489007b another shell fix - hopefully. 2016-06-17 21:39:11 +02:00
klemens-morgenstern
efcdabb6c0 shell fix for linux 2016-06-17 21:07:06 +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
560c48d09f doc update 2016-06-17 20:31:12 +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
dc19c718f0 shell fix for windows 2016-06-13 18:39:59 +02:00
klemens-morgenstern
2be02bc406 some minor fixes 2016-06-13 17:59:51 +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
644bd08a9e matchted ignore_error on the windows side to posix version. 2016-06-12 02:01:23 +02:00
Klemens Morgenstern
84e01e19e3 Implemented proper error handling on linux 2016-06-12 01:28:51 +02:00
Klemens Morgenstern
3bab1c2814 added some noexecept 2016-06-11 20:59:50 +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
575bdb3c8a Implement asio-fwd-decls for posix 2016-06-11 00:21:37 +02:00
Klemens Morgenstern
c55e53ceae Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop 2016-06-10 23:49:02 +02:00
Klemens Morgenstern
1ad08b7a42 Updated signal handling 2016-06-10 23:48:45 +02:00
klemens-morgenstern
3f61c7ace7 Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop 2016-06-10 23:21:46 +02:00
klemens-morgenstern
da896ef3d0 added missing header 2016-06-10 23:21:27 +02:00
klemens-morgenstern
51fb9e31fa implemented asio-fwd-declarations on windows 2016-06-10 23:21:06 +02:00
Klemens Morgenstern
65922585e3 fixed wrong merge result 2016-06-10 04:11:56 +02:00
Klemens Morgenstern
c4864e8ea5 Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop
Conflicts:
	include/boost/process/child.hpp
2016-06-10 04:02:51 +02:00
Klemens Morgenstern
68cad4a2ea Update signal(SIGCHLD, SIG_IGN) 2016-06-10 04:01:38 +02:00
klemens-morgenstern
e168a460c9 Update child.hpp 2016-06-05 15:08:42 +02:00
klemens-morgenstern
b5180b869b small fix and updated examples 2016-06-04 21:10:13 +02:00
Klemens Morgenstern
d5acf8713d fixed cmd parsing on linux 2016-06-04 20:13:56 +02:00
klemens-morgenstern
211102f666 fixed args parser for windows 2016-06-04 18:55:27 +02:00
klemens-morgenstern
fc197c5fa9 Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop 2016-06-04 16:37:36 +02:00
Klemens Morgenstern
21e8707558 cmd parser fix 2016-06-04 16:37:08 +02:00
klemens-morgenstern
8a5d5f0967 removed unused variable 2016-06-04 16:35:13 +02:00
Klemens Morgenstern
326b512df2 Changed cmd-parser on posix 2016-06-04 16:22:00 +02:00
Klemens Morgenstern
48298575ae Fixed file I/O 2016-06-04 15:46:23 +02:00
klemens-morgenstern
651d6f9979 Merge branch 'develop' of github.com:klemens-morgenstern/boost-process into develop 2016-06-04 14:19:29 +02:00
klemens-morgenstern
3d46e192be added tests for pipes and file I/O. 2016-06-04 14:19:19 +02:00
klemens-morgenstern
55fb59e038 Correction of child.hpp 2016-06-04 01:58:01 +02:00
klemens-morgenstern
aefd76f7ed updated after posix changes 2016-06-04 01:51:03 +02:00
Klemens Morgenstern
e5277b1805 Implemented new version for posix 2016-06-04 01:32:18 +02:00
Klemens Morgenstern
e056146bc1 Fixed the pipe on posix 2016-06-02 00:32:30 +02:00
klemens-morgenstern
1a233e44ca added some posix stuff 2016-06-01 23:31:51 +02:00
klemens-morgenstern
226c04c001 fixed tests. 2016-06-01 00:56:08 +02:00
klemens-morgenstern
d28c025598 restructured headers 2016-06-01 00:28:05 +02:00
klemens-morgenstern
e8c1ec4774 finished reference 2016-05-31 12:15:55 +02:00
klemens-morgenstern
c0b583328d added shell 2016-05-30 21:41:53 +02:00
klemens-morgenstern
1481789946 cleanup & restructured the calls 2016-05-30 20:31:36 +02:00
klemens-morgenstern
4ff47d9bd9 major cleanup. 2016-05-30 19:31:41 +02:00
klemens-morgenstern
072e7bc4ed cleanup & renaming of shell 2016-05-30 02:58:28 +02:00
klemens-morgenstern
6869e16a15 fixed some tests 2016-05-25 15:11:49 +02:00
klemens-morgenstern
3138eba361 changed buffer to vector, so it's easier movable 2016-05-25 00:28:02 +02:00
klemens-morgenstern
423dbba85b prototype of new pipe api works on windows (partially) 2016-05-25 00:16:03 +02:00
klemens-morgenstern
a7a88e08a4 initial commit of new pipe structure 2016-05-23 23:45:02 +02:00
klemens-morgenstern
beec33b9a4 repaired windows after posix changes 2016-05-19 23:02:18 +02:00
Klemens Morgenstern
3b4a24491a Fixed group implementation on posix 2016-05-19 22:36:25 +02:00
Klemens Morgenstern
f3426a6b6f Updated tests to fit terminate on dtor 2016-05-18 22:39:42 +02:00
Klemens Morgenstern
193e897f76 Removed errornous include 2016-05-08 23:20:49 +02:00
klemens-morgenstern
850dd31319 implemented groups as header-only on windows 2016-05-08 22:56:40 +02:00
klemens-morgenstern
214bec2001 first implementation of groups for windows 2016-05-08 19:53:21 +02:00
klemens-morgenstern
118de6f9dd removed iostream 2016-04-24 23:53:46 +02:00
klemens-morgenstern
163f0ba3b1 fix of args builder 2016-04-24 23:53:27 +02:00
Klemens Morgenstern
33ee646940 Updated attached 2016-04-22 00:10:04 +02:00
klemens-morgenstern
999b93dd27 added test for job_objects on windows 2016-04-21 23:16:32 +02:00
klemens-morgenstern
2cd3cc768b added reinterpret_cast for file-descriptors 2016-04-18 18:47:11 +02:00
Klemens Morgenstern
b2634a3847 CmdLine fix 2016-04-18 16:54:43 +02:00
Klemens Morgenstern
e8287b2d55 fix of cmd str assignment 2016-04-18 12:52:16 +02:00
klemens-morgenstern
5dfa917d45 fix of boost.process winbuild 2016-04-18 12:31:48 +02:00
Klemens Morgenstern
d920d1f110 Prototype of posix implementation 2016-04-18 11:44:39 +02:00
Klemens Morgenstern
b6faea0ec0 Updated wait for exit 2016-04-18 02:28:47 +02:00
Klemens Morgenstern
de0445751d Fixed include guard 2016-04-16 14:19:36 +02:00
Klemens Morgenstern
b6ed640fb3 Implemented pipes on posix 2016-04-16 14:16:46 +02:00
klemens-morgenstern
ff944ec85b added set_exited to child
correct linked libs for sparring_partner
2016-04-16 00:34:17 +02:00
klemens-morgenstern
9c9f9376ff added show_window test 2016-04-16 00:30:06 +02:00
klemens-morgenstern
1a0692a24a working msvc 14 version 2016-04-15 23:03:35 +02:00
klemens-morgenstern
40b466ca4a added start_dir, and fixed template variables 2016-04-15 19:11:48 +02:00
klemens-morgenstern
3ee6e039e9 fixed Jamfile 2016-04-15 12:17:46 +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
6506ab5980 downgrade to c++11 2016-04-14 16:04:39 +02:00
klemens-morgenstern
46afca8239 fixed run_exe 2016-04-14 15:25:55 +02:00
klemens-morgenstern
4f98d09eb3 working error handler 2016-04-14 14:30:00 +02:00
klemens-morgenstern
5520d14173 basic meta stuff works 2016-04-14 14:04:04 +02:00
klemens-morgenstern
8c2208d640 custom traits, not compiling 2016-04-11 17:32:47 +02:00
klemens-morgenstern
f021aa19d3 cleanup and working env 2016-04-11 00:39:38 +02:00
klemens-morgenstern
bfdc96f7c8 cleanup 2016-04-10 15:09:14 +02:00
klemens-morgenstern
ef61f3d827 added asnyc_close to async_pipe 2016-04-10 14:27:21 +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
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
klemens-morgenstern
68f23850a0 started on async stuff 2016-04-02 15:29:42 +02:00
klemens-morgenstern
a7e0f0d858 a few child fixes 2016-03-28 14:01:44 +02:00
klemens-morgenstern
41d134c397 bind_stdin works 2016-03-22 23:37:46 +01:00
klemens-morgenstern
21543ba129 got the sync-io to work
at least if we ignore issue #3
2016-03-22 22:48:15 +01:00
klemens-morgenstern
5064e1f69b stderr is working 2016-03-22 01:51:44 +01:00
klemens-morgenstern
ebb73ef84c not working verison of piping... 2016-03-22 01:32:41 +01:00
klemens-morgenstern
835c309af1 piping doesn't work, though the test does compile.
Maybe I'll restructure the file descriptors, because they do not work as expected with C++14
2016-03-20 23:10:01 +01:00
klemens-morgenstern
e708ee77c7 updated io stuff - not yet compiling 2016-03-20 17:22:46 +01:00
klemens-morgenstern
886676c116 added io headers 2016-03-20 14:27:06 +01:00
klemens-morgenstern
9b0c68f2f0 addes async and named pipes 2016-03-19 22:18:02 +01:00
klemens-morgenstern
4c9f689fbe removed wchar_t stuff and added pipe test 2016-03-19 21:03:07 +01:00
klemens-morgenstern
12f2bf4de9 added exe_args in alpha status, run_exe_path works now (win) 2016-03-14 22:47:34 +01:00
klemens-morgenstern
677745f53d ok, now working including throw-on-default 2016-03-14 00:21:48 +01:00
klemens-morgenstern
4da62bff3d fix.
run_exe now works on windows
2016-03-13 23:54:41 +01:00
klemens-morgenstern
602d0373ea not working version, backup 2016-03-13 23:00:14 +01:00
klemens-morgenstern
3ae369a4fe temporary commit, second rework of the initializer 2016-03-12 20:17:14 +01:00
klemens-morgenstern
2f1e907192 added environment structs 2016-02-28 23:34:31 +01:00
klemens-morgenstern
4c422d860b backup commit 2016-02-20 19:43:36 +01:00
klemens-morgenstern
6956d0f656 changed args and cmd
untested.
2016-02-19 22:29:07 +01:00
klemens-morgenstern
88fef81b0c well...still playing around here 2016-02-14 23:27:13 +01:00
klemens-morgenstern
40323899fc restructured basically everything. not working yet 2016-02-12 22:49:43 +01:00
klemens-morgenstern
ee43c8f171 made synopsis of child... 2016-02-08 10:50:46 +01:00
klemens-morgenstern
1e4ac4c382 added is_running 2016-02-07 22:37:48 +01:00
klemens-morgenstern
e6d4edebdb started on the rework - not working 2016-02-07 22:05:16 +01:00
klemens-morgenstern
f1a6c8590d restructured the repo to fit the other boost repositories 2016-02-07 13:24:49 +01:00