Fix script executor.
This commit is contained in:
@@ -331,7 +331,7 @@ handle_post(Request) :-
|
|||||||
ScriptPath,
|
ScriptPath,
|
||||||
(
|
(
|
||||||
member(Script, Matches),
|
member(Script, Matches),
|
||||||
format(atom(ScriptPath), '~w/automation/~w.sh', [Destination, Script])
|
format(atom(ScriptPath), '(cd ~w && ./automation/~w.sh)', [Destination, Script])
|
||||||
),
|
),
|
||||||
Scripts
|
Scripts
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user