public void StartLiveView()
        {
            _hubContext.Clients.All.Navigate("live-view");
            var res = BashHelper.ExecuteNonBlockingBash("cd /home/pi/photobooth && ./startLiveView.sh");

            Console.WriteLine(res);
        }
        public void PrintPicture()
        {
            var res = BashHelper.ExecuteNonBlockingBash("lp /home/pi/net/photobooth/ClientApp/dist/assets/latest.jpg");

            Console.WriteLine(res);
        }
        public void StopLiveView()
        {
            var res = BashHelper.ExecuteNonBlockingBash("cd /home/pi/photobooth && ./stopLiveView.sh");

            Console.WriteLine(res);
        }