diff --git a/Docker/utils.sh b/Docker/utils.sh index 500b01e..fbbd201 100644 --- a/Docker/utils.sh +++ b/Docker/utils.sh @@ -10,8 +10,8 @@ _get_pixel_color(){ x=$1; y=$2; output_path="/tmp/$(mktemp -u XXXXXX).png" - scrot $output_path - magick $output_path -format "%[hex:p{$x,$y}]" info: + scrot "$output_path" + magick "$output_path" -format "%[hex:p{$x,$y}]" info: END=$(timestamp) DIFF=$(echo "$END - $START" | bc) echo "{\"getting_pixel_color_took\": \"${DIFF}ms\"}" > /dev/stderr