44 Commits

Author SHA1 Message Date
Arun M
a90174cf5c is throwing errors #16 v1.0.2 2018-09-30 10:10:40 +05:30
Arun M
05c76a5311 Reading from a pipe is messed up #14 v1.0.1 2018-04-16 10:50:46 +05:30
Arun M
b5e3da1cf7 Cannot access process retcode after #13 2018-04-14 22:51:06 +05:30
Dmitry Petrashko
4cc467e2aa Fix lto build on clang by marking HolderBase::operator() as abstract (#12) v1.0 2018-03-07 09:47:12 +05:30
okaymaged
7534a9cddb Don't waitpid on SIGCHLD, which lost the retcode (#11)
* Don't waitpid on SIGCHLD, which lost the retcode

* Adding test
2018-03-02 20:28:24 +05:30
Arun M
ca74a559c5 Fix all the compilation warnings #9 2018-03-01 16:10:05 +05:30
Arun Muralidharan
09ee99a282 Merge pull request #7 from mirror3000/master
Make library usable from multiple object files
2017-08-22 17:56:36 +05:30
Andrei Preda
83da3cc629 Make all static functions inline 2017-08-22 05:06:47 -07:00
Andrei Preda
55d9433422 Fix linker errors when using library in multiple object files 2017-08-22 04:14:51 -07:00
Andrei Preda
78651742fb Replace tabs with spaces
Coding style uses indent with spaces, but there were a few lost tabs
that had to be replaced.
2017-08-22 02:41:29 -07:00
Arun Muralidharan
b012256919 Merge pull request #6 from mirror3000/master
Fix warnings (compiling with clang++ -Wall)
2017-08-20 10:39:44 +05:30
Andrei Preda
c8577e3d83 Remove unused sys_ret variable 2017-08-19 16:39:09 +03:00
Andrei Preda
a665bff1bd Make split inline 2017-08-19 16:38:49 +03:00
Andrei Preda
fb63ff77d3 Use 'friend struct' instead of 'firend class ArgumentDeducer' in Popen
Signed-off-by: Andrei Preda <andreipreda07@gmail.com>
2017-08-19 16:28:42 +03:00
Arun Muralidharan
f650a47250 Merge pull request #5 from yytdfc/dev
Fix Issue #4 adding a SIGCHLD handler.
2017-08-04 10:44:04 +05:30
yytdfc
814be9e635 fix a bug of defunct process by adding a SIGCHLD handler. 2017-08-04 11:14:34 +08:00
arunmu
a23c1033df Fixed 2 issues:
1. When more than 2 streams are piped, we use threads to read/write data
parallely. In this scenariod read_atmost_n API was being used instead of
read_all.
2. Another issue with check_output argument validation fixed.
2016-03-21 20:25:37 +05:30
arunmu
a67cb2a439 Issue pointed by elfring: Non standard header guard 2016-03-21 18:07:05 +05:30
arunmu
faa6e3af2f Updated readme 2016-03-20 10:45:39 +05:30
arunmu
79932b1f42 Updated readme 2016-03-20 10:44:41 +05:30
arunmu
de49e349dc some test changes 2016-03-19 23:49:37 +05:30
arunmu
5e1a9c9088 Fixed poll return status 2016-03-19 18:18:47 +05:30
arunmu
9b2e9229a5 Added documentation 2016-03-19 17:40:39 +05:30
arunmu
9762f241ae quite a few changes and added functionalities and tests 2016-03-19 00:32:58 +05:30
arunmu
cccc08e7c5 Uncommented previously commented tests 2016-03-18 17:07:52 +05:30
arunmu
aab30d19bf Major issue resolved execv args was not terminated with nullptr 2016-03-18 17:06:44 +05:30
arunmu
f409d50c8d overload stream arguments for file pointer and new pipeline test case 2016-03-18 15:46:53 +05:30
arunmu
6a9f0aab51 added more tests 2016-03-17 21:19:36 +05:30
arunmu
fd9efecf05 New test case for cat and env 2016-03-17 15:23:11 +05:30
arunmu
943c6ee0de Corrected call API 2016-03-17 14:38:28 +05:30
arunmu
b5a3d3fb47 Add cat test case 2016-03-17 12:56:40 +05:30
arunmu
169bde5c08 Added debug code 2016-03-17 11:51:11 +05:30
arunmu
6817d92533 Added check_output API 2016-03-17 11:38:40 +05:30
arunmu
d9d132b22c Implemented poll 2016-03-16 22:18:40 +05:30
arunmu
1128b46e5e Perf improvement 2016-03-16 22:01:36 +05:30
arunmu
6a81526254 Refactored Buffer 2016-03-16 14:14:11 +05:30
arunmu
a96466ca18 Communicate test case works in the last commit 2016-03-16 12:16:21 +05:30
arunmu
18686a79ed communicate implemented - test case not working though 2016-03-16 12:12:46 +05:30
arunmu
9d5ce3cc44 Implemented send API 2016-03-16 00:09:48 +05:30
arunmu
7e4289edcb Code refatored - enter streams 2016-03-15 21:51:24 +05:30
arunmu
7260f1a358 New test file 2016-03-15 20:23:38 +05:30
arunmu
2224a2802c FD_CLOEXEC fix 2016-03-15 18:54:12 +05:30
arunmu
9934479ee4 Added communication channels 2016-03-15 12:48:51 +05:30
arunmu
fc24e168da First commit of subprocess-cpp 2016-03-15 11:35:07 +05:30