diff options
Diffstat (limited to 'CIAO/connectors/dds4ccm/performance-tests/Keyed/descriptors/run_sub_BE.pl')
-rwxr-xr-x | CIAO/connectors/dds4ccm/performance-tests/Keyed/descriptors/run_sub_BE.pl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/CIAO/connectors/dds4ccm/performance-tests/Keyed/descriptors/run_sub_BE.pl b/CIAO/connectors/dds4ccm/performance-tests/Keyed/descriptors/run_sub_BE.pl index 1d685e7e1c6..66a14a6f55c 100755 --- a/CIAO/connectors/dds4ccm/performance-tests/Keyed/descriptors/run_sub_BE.pl +++ b/CIAO/connectors/dds4ccm/performance-tests/Keyed/descriptors/run_sub_BE.pl @@ -204,11 +204,18 @@ sleep (180); # Invoke executor - stop the application -. print "Invoking executor - stop the application -\n"; -print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file -q\n"; +print "by running dance_plan_launcher.exe with -k file://$ior_emfile -x $cdp_file\n"; $E = $tg_executor->CreateProcess ("$DANCE_ROOT/bin/dance_plan_launcher", "-k file://$ior_emfile -x $cdp_file -s"); -$E->SpawnWaitKill ($tg_executor->ProcessStopWaitInterval ()); + +$pl_status = $E->SpawnWaitKill ($tg_executor->ProcessStartWaitInterval ()); + +if ($pl_status != 0) { + print STDERR "ERROR: dance_plan_launcher returned $pl_status\n"; + kill_open_processes (); + exit 1; +} print "Executor returned.\n"; print "Shutting down rest of the processes.\n"; |