childprocess 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/childprocess/unix/fork_exec_process.rb +2 -2
- data/lib/childprocess/version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3723a7f95462549d5067a9f4d4beb41a90364542
|
4
|
+
data.tar.gz: a13ebffae12ab4f999dd12691486dd8be8fee2cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec8f62831def5b44109e0a90c6889a9a6032cafe3c81e6716440057a948df76ed3291f23a655ef7dcb9fd268327cad3d9293d37a54b23d7325283fefda85f7ed
|
7
|
+
data.tar.gz: 623c1367aa7bfbed9d93d3c5eb873ca836f3e189fd3b4f7b57f3a704988b4d1df236be0d59f504ec6174d30477ee880afd8a752432105254a460ee53211a5634
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ module ChildProcess
|
|
17
17
|
reader, writer = ::IO.pipe
|
18
18
|
end
|
19
19
|
|
20
|
-
@pid = fork {
|
20
|
+
@pid = Kernel.fork {
|
21
21
|
# Children of the forked process will inherit its process group
|
22
22
|
# This is to make sure that all grandchildren dies when this Process instance is killed
|
23
23
|
::Process.setpgid 0, 0 if leader?
|
@@ -40,7 +40,7 @@ module ChildProcess
|
|
40
40
|
executable, *args = @args
|
41
41
|
|
42
42
|
begin
|
43
|
-
exec([executable, executable], *args)
|
43
|
+
Kernel.exec([executable, executable], *args)
|
44
44
|
rescue SystemCallError => ex
|
45
45
|
exec_w << ex.message
|
46
46
|
end
|
data/lib/childprocess/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module ChildProcess
|
2
|
-
VERSION = "0.5.
|
3
|
-
end
|
2
|
+
VERSION = "0.5.2"
|
3
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: childprocess
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jari Bakken
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|