#!/usr/bin/env bash

script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" || exit 1
cd "$script_dir/.." || exit 1

pkill -x dxprint 2>/dev/null || true
./dxprint
dxprint_exit=$?
read -r -p "Apasa Enter pentru a inchide..." _
exit "$dxprint_exit"
