From bab7c9e9a092320176a851a6e8aa014062e75c7d Mon Sep 17 00:00:00 2001 From: Michael Wiebusch Date: Thu, 1 Aug 2013 16:16:05 +0200 Subject: [PATCH] trying to put the stdout as title tag behind the plot --- tools/prevImg.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/prevImg.pl b/tools/prevImg.pl index b5f5138..1301c8e 100755 --- a/tools/prevImg.pl +++ b/tools/prevImg.pl @@ -43,9 +43,9 @@ chdir("preview"); my $dummy; -$dummy=system("./exec_evtbuild_t.pl -t ".$runtime." 2>&1"); #14 -$dummy.=system("mv te1* ./temp.hld"." 2>&1"); -$dummy.=system("./unpack_hld.pl -f ./temp.hld"." 2>&1"); +$dummy=qx"./exec_evtbuild_t.pl -t $runtime 2>&1"; #14 +$dummy.=qx"mv te1* ./temp.hld 2>&1"; +$dummy.=qx"./unpack_hld.pl -f ./temp.hld 2>&1"; # qx%./run.pl -t 0.1 -id ccc1ccc1%; print br; print img{src=>'./preview/image_recalibrated_ccc1.png?'.rand(),title=>$dummy}; -- 2.43.0