#!/bin/bash
export LD_LIBRARY_PATH=/home/SMCDev/SMC/mpp2/common/zzRelease6.0.0:/home/SMCDev/omniORB/zzUbuntu6.0.0/lib:/usr/local/boost/1.46.1/lib
export PATH="/home/SMCDev/omniORB/zzUbuntu6.0.0/bin:.:$PATH"

rm -f children.txt

echo "Starting omniNames"
omniNames -start -always &
echo "$!" >> children.txt
sleep 1

for project in $*
do
	echo "Starting $project"
	./$project $STDARGS &
	echo "$!" >> children.txt
	sleep 1
done


