. $OSPL_HOME/examples/functions

check_osplhome

startOSPL

echo "=== Launching HelloWorld "
./HelloWorldDataSubscriber > subResult.txt&
cmd_pid=$!

sleep 5
./HelloWorldDataPublisher > pubResult.txt

echo "=== Waiting for processes to terminate"
waitForProcessTermination $cmd_pid 30

helloworldCheckResult

stopOSPL
