Skip to content

Commit 899d144

Browse files
committed
Checking in changes prior to tagging of version 0.31.
Changelog diff is: diff --git a/Changes b/Changes index 7eef074..3650797 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,17 @@ Revision history for Perl extension Mojo-IOLoop-ReadWriteProcess {{$NEXT}} +0.31 2021-12-01T15:51:06Z + - Fix bad release to cpan + - Enable GitHub Actions for the project + - Fix ReadWriteProcess::Queue as regression of 1e0addb + - Fix race on `open3/fork` and `session->register($pid)` call -- second attempt + - Fix `args` processing + - Fix race of SIG{CHLD} handler setup + - Fix _getlines() to avoid extra newline (\n) in scalar context + - Session: Do not set SIG{CHLD} handler twice + - Match on 'armv7l' as well as 'arm' for prctl detection + 0.28 2020-09-30T11:51:40Z - Avoid executing "blocking stop" code when process has already terminated by Martchus
1 parent cb04743 commit 899d144

4 files changed

Lines changed: 21 additions & 18 deletions

File tree

Changes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ Revision history for Perl extension Mojo-IOLoop-ReadWriteProcess
33

44
{{$NEXT}}
55

6+
0.31 2021-12-01T15:51:06Z
7+
- Fix bad release to cpan
8+
- Enable GitHub Actions for the project
9+
- Fix ReadWriteProcess::Queue as regression of 1e0addb6
10+
- Fix race on `open3/fork` and `session->register($pid)` call -- second attempt
11+
- Fix `args` processing
12+
- Fix race of SIG{CHLD} handler setup
13+
- Fix _getlines() to avoid extra newline (\n) in scalar context
14+
- Session: Do not set SIG{CHLD} handler twice
15+
- Match on 'armv7l' as well as 'arm' for prctl detection
16+
617
0.28 2020-09-30T11:51:40Z
718
- Avoid executing "blocking stop" code when process has already terminated by Martchus
819

META.json

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"Ettore Di Giacinto <edigiacinto@suse.com>"
55
],
66
"dynamic_config" : 0,
7-
"generated_by" : "Minilla/v3.1.10, CPAN::Meta::Converter version 2.143240",
7+
"generated_by" : "Minilla/v3.1.12, CPAN::Meta::Converter version 2.150010",
88
"license" : [
99
"perl_5"
1010
],
1111
"meta-spec" : {
1212
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
13-
"version" : "2"
13+
"version" : 2
1414
},
1515
"name" : "Mojo-IOLoop-ReadWriteProcess",
1616
"no_index" : {
@@ -54,28 +54,20 @@
5454
}
5555
},
5656
"release_status" : "unstable",
57-
"resources" : {
58-
"bugtracker" : {
59-
"web" : "https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/issues"
60-
},
61-
"homepage" : "https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess",
62-
"repository" : {
63-
"type" : "git",
64-
"url" : "git://github.com/mudler/Mojo-IOLoop-ReadWriteProcess.git",
65-
"web" : "https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess"
66-
}
67-
},
68-
"version" : "0.28",
57+
"version" : "0.31",
6958
"x_contributors" : [
59+
"Adam Williamson <awilliam@redhat.com>",
7060
"Clemens Famulla-Conrad <cfamullaconrad@suse.de>",
7161
"Ettore Di Giacinto <mudler@gentoo.org>",
7262
"Ettore Di Giacinto <mudler@users.noreply.github.com>",
7363
"Marius Kittler <mkittler@suse.de>",
7464
"Mohammad S Anwar <mohammad.anwar@yahoo.com>",
7565
"Oliver Kurz <okurz@suse.de>",
66+
"Santiago Zarate <229240+foursixnine@users.noreply.github.com>",
7667
"Santiago Zarate <santiago+github@zarate.co>",
7768
"Santiago Zarate <santiago@zarate.co>",
7869
"Sebastian Riedel <sri@cpan.org>"
7970
],
71+
"x_serialization_backend" : "JSON::PP version 4.06",
8072
"x_static_install" : 0
8173
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/mudler/Mojo-IOLoop-ReadWriteProcess.svg?branch=master)](https://travis-ci.org/mudler/Mojo-IOLoop-ReadWriteProcess) [![Coverage Status](http://codecov.io/github/mudler/Mojo-IOLoop-ReadWriteProcess/coverage.svg?branch=master)](https://codecov.io/github/mudler/Mojo-IOLoop-ReadWriteProcess?branch=master)[![linux](https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/actions/workflows/ci-linux.yaml/badge.svg)](https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/actions/workflows/ci-linux.yaml)
1+
22
# NAME
33

44
Mojo::IOLoop::ReadWriteProcess - Execute external programs or internal code blocks as separate process.
@@ -21,7 +21,7 @@ Mojo::IOLoop::ReadWriteProcess - Execute external programs or internal code bloc
2121
my $output = process( sub { print "Hello\n" } )->start()->wait_stop->getline;
2222

2323
# Handles seamelessy also external processes:
24-
my $process = process(execute=> '/path/to/bin' )->args(qw(foo bar baz));
24+
my $process = process(execute=> '/path/to/bin' )->args([qw(foo bar baz)]);
2525
$process->start();
2626
my $line_output = $process->getline();
2727
my $pid = $process->pid();
@@ -174,7 +174,7 @@ You do not need to specify `code`, it is implied if no arguments is given.
174174

175175
# The process will print "Hello User"
176176

177-
Array or arrayref of options to pass by to the external binary or the code block.
177+
Arguments pass to the external binary or the code block. Use arrayref to pass many.
178178

179179
## blocking\_stop
180180

lib/Mojo/IOLoop/ReadWriteProcess.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package Mojo::IOLoop::ReadWriteProcess;
22

3-
our $VERSION = '0.28';
3+
our $VERSION = '0.31';
44

55
use Mojo::Base 'Mojo::EventEmitter';
66
use Mojo::File 'path';

0 commit comments

Comments
 (0)