From ef533f251490c53a31b51ca0e18c6554446fd939 Mon Sep 17 00:00:00 2001 From: pQu4k3r Date: Tue, 11 Aug 2026 14:28:14 +0000 Subject: [PATCH] Run console commands via a temp script (fixes scripts not executing) eConsoleAppContainer.execute() is not consistent across images: some run the given string through a shell, some split it on whitespace. The previous approach wrapped remote commands in /bin/sh -c "..." but exempted anything starting with "sh " - so local sh/ scripts reached execute() as 'sh "..." > log 2>&1' with the redirect intact, and on a word-splitting image the redirect tokens became literal arguments and the script silently failed. Remote pipelines were similarly fragile. Instead of guessing how execute() parses the string, write the whole command to a real temp script (/tmp/.lsconsole_.sh) and run '/bin/sh