smartcloud 0.0.118 → 0.0.119
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smartcloud/grids/grid-runner/spawner.rb +3 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b80e0140767227146e0635bb21d767186606aa2fcd8969686fa159460534827
|
4
|
+
data.tar.gz: 8d88a9f336fe28525d5590aaa857848fd442a82aee93df9618d7c11f68a55b38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66ae1c940cdd60de881cb3d1e62777a903c406b2f789524dfcaba05ff6b56089e1a55c20e38ae4ff362c0b64ed0422dd81307023c53c0d40724725ba68668edc
|
7
|
+
data.tar.gz: 5d124a1b63d1e7cce471febd4041e4f9088293a09cc089b8e854c6664103b1d8c5f0cf5f7057f26a09e8a934388fc954cf558a451bdd717746e82e5deac2f0a9
|
@@ -1,13 +1,6 @@
|
|
1
1
|
require "pty"
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
stdout.each { |line| print line }
|
7
|
-
rescue Errno::EIO
|
8
|
-
puts "Errno:EIO error, but this probably just means that the process has finished giving output"
|
9
|
-
end
|
10
|
-
end
|
11
|
-
rescue PTY::ChildExited
|
12
|
-
puts "The child process exited!"
|
3
|
+
PTY.spawn("spawn-fcgi -n -p 9000 /usr/bin/fcgiwrap -f") do |stdout, stdin, pid|
|
4
|
+
stdout.each { |line| print line }
|
5
|
+
Process.wait(pid)
|
13
6
|
end
|