From 4155916053c4988bebadc125ad4ee6f3b4ba2bac Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Mon, 26 Jul 2010 02:29:45 -0700 Subject: [PATCH] added forgotten instance of quoting of the output filename --- feedGnuplot.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feedGnuplot.pl b/feedGnuplot.pl index 3a37060..e4a50a2 100755 --- a/feedGnuplot.pl +++ b/feedGnuplot.pl @@ -434,7 +434,7 @@ sub mainThread { # sleep until the plot file exists, and it is closed. Sometimes the output is # still being written at this point usleep(100_000) until -e $outputfile; - usleep(100_000) until(system("fuser -s $outputfile")); + usleep(100_000) until(system("fuser -s \"$outputfile\"")); print "Wrote output to $outputfile\n"; return;