Change-Id: I2551cc79fbaf702df1a3410ab2d60c0ccc50f612
begin
while(true)
log.info "Build Server[#{option[:name]}] Start - PORT: [#{option[:port]}]"
-
+
# set port option
- port_option = ((option[:port] != "") and (option[:port] != nil)) ? "-p #{option[:port]}" : ""
+ port_option = ((option[:port] != "") and (option[:port] != nil)) ? "-p #{option[:port]}" : ""
# Start child process
cmd = Utils.generate_shell_command("#{File.dirname(__FILE__)}/build-svr start -n #{option[:name]} #{port_option} --CHILD")
-
- io = IO.popen(cmd)
+
+ io = IO.popen(cmd)
puts io.readlines()
-
+
pid = Process.wait
# End chlid process