diff --git a/build.sh b/build.sh index e586c94..f2c9cec 100755 --- a/build.sh +++ b/build.sh @@ -77,9 +77,9 @@ task_setup() { task_launch() { task_begin "Launching swarm"; - terminal_tab "systemquery:agent-a" src/index.mjs agent --config config/test_a.toml; - terminal_tab "systemquery:agent-b" src/index.mjs agent --config config/test_b.toml; - terminal_tab "systemquery:agent-c" src/index.mjs agent --config config/test_c.toml; + terminal_tab "systemquery:agent-a" bash -c "src/index.mjs agent --verbose --config config/test_a.toml; read -p 'Press enter to exit....';"; + terminal_tab "systemquery:agent-b" bash -c "src/index.mjs agent --verbose --config config/test_b.toml; read -p 'Press enter to exit....';"; + terminal_tab "systemquery:agent-c" bash -c "src/index.mjs agent --verbose --config config/test_c.toml; read -p 'Press enter to exit....';"; task_end 0; }