lib/skelerl/erlpers/erl_mapper.rb in auser-skelerl-0.0.2 vs lib/skelerl/erlpers/erl_mapper.rb in auser-skelerl-0.0.3
- old
+ new
@@ -41,10 +41,14 @@
contexts << mc
end
end
def realize(force_testing=false)
- contexts.collect {|mc| (force_testing || testing) ? mc.string : daemonize(mc.string) }
+ contexts.collect {|mc| (force_testing || testing) ? mc.string : launch(mc.string) }
+ end
+
+ def launch(cmd)
+ Kernel.system cmd
end
def daemonize(cmd, &block)
pid = fork do
Signal.trap('HUP', 'IGNORE') # Don't die upon logout
\ No newline at end of file