#!/bin/bash export APP=$1 export DCOPNAME=$2 if [ ! -x $APP ] then kdialog --error "Sorry, $APP is not a valid executable file." exit 1; fi DEBUGHELPER=`which tdeunittest_debughelper` if [ -z $DEBUGHELPER ] then kdialog --error "Sorry, couldn't find the tdeunittest_debughelper script." exit 3 fi $APP 2>&1 | perl $DEBUGHELPER "$DCOPNAME-*"