cpee 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cpee.gemspec +1 -1
- data/lib/cpee/implementation_properties.rb +3 -3
- data/server/resources/backend/run +1 -1
- data/tools/cpee +1 -1
- 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: 6d1d7e6a27a9a6609e6ae2efd391e71595a36d6a5672bbfc6fbb615dcf2b66cd
|
4
|
+
data.tar.gz: 2c4628fb7fac4f492ca00f3215fdfa361c461550243b8fbc5c24b32f1f396b3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05f3c482d24f650988760431222f8f1ee4aa320b78edb60d31705d0e8bcc7baa84a8c41fcdd36006411a27f40cb77bbdf6f7664fc6305ed4ac7bafcc6e4aff56
|
7
|
+
data.tar.gz: 756a3209ebf911c8407804ba5f0a88b86827578bd0d29435c8ee711c79cbbbbbe581791f6cb233cd520d72074dc7a160e6ba58fd8b35591efaef9cc72898e138
|
data/cpee.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "cpee"
|
3
|
-
s.version = "2.0.
|
3
|
+
s.version = "2.0.3"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.license = "LGPL-3.0"
|
6
6
|
s.summary = "Preliminary release of cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
|
@@ -215,12 +215,12 @@ module CPEE
|
|
215
215
|
case state
|
216
216
|
when 'running'
|
217
217
|
CPEE::Persistence::write_instance id, opts
|
218
|
-
pid = Kernel.spawn(exe , :out => exe + '.out', :err => exe + '.err')
|
219
|
-
File.write(exe + '.pid',pid)
|
218
|
+
pid = Kernel.spawn(exe , :pgroup => true, :in=>"/dev/null", :out => exe + '.out', :err => exe + '.err')
|
220
219
|
Process.detach pid
|
220
|
+
File.write(exe + '.pid',pid)
|
221
221
|
when 'stopping'
|
222
222
|
pid = File.read(exe + '.pid') rescue nil
|
223
|
-
if pid && (Process.kill(0, pid) rescue false)
|
223
|
+
if pid && (Process.kill(0, pid.to_i) rescue false)
|
224
224
|
Process.kill('HUP', pid.to_i) rescue nil
|
225
225
|
else
|
226
226
|
File.unlink(exe + '.pid') rescue nil
|
data/tools/cpee
CHANGED
@@ -48,7 +48,7 @@ ARGV.options { |opt|
|
|
48
48
|
opt.on("")
|
49
49
|
opt.on(wrap("[ui] starts a simple static web server with the ui on http://localhost:8080. Use [cpui DIR] if you want stuff in apache or nginx."))
|
50
50
|
opt.on("")
|
51
|
-
opt.on(wrap("[convert] converts all testsets in the current directory to cpee2
|
51
|
+
opt.on(wrap("[convert] converts all testsets in the current directory to cpee2"))
|
52
52
|
opt.parse!
|
53
53
|
}
|
54
54
|
if (ARGV.length == 0) ||
|