From adc3fc4328438b142daaae9e7a67709d138cd563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20Healy?= Date: Mon, 20 Apr 2026 15:18:05 +0100 Subject: [PATCH] Fix script executor. --- server.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.pl b/server.pl index 7a527e7..5c6560d 100755 --- a/server.pl +++ b/server.pl @@ -331,7 +331,7 @@ handle_post(Request) :- ScriptPath, ( member(Script, Matches), - format(atom(ScriptPath), '~w/automation/~w.sh', [Destination, Script]) + format(atom(ScriptPath), '(cd ~w && ./automation/~w.sh)', [Destination, Script]) ), Scripts ),