MangoService: possible final fix for spawn command

This commit is contained in:
Lysec
2026-02-02 13:16:31 +01:00
parent a89c1ab6b6
commit c3b71f7334
+1 -1
View File
@@ -692,7 +692,7 @@ Item {
function spawn(command) {
try {
const cmdStr = Array.isArray(command) ? command.join(" ") : command;
Quickshell.execDetached(["mmsg", "-d", "'spawn," + cmdStr + "'"]);
Quickshell.execDetached(["sh", "-c", "mmsg -d 'spawn," + cmdStr + "'"]);
} catch (e) {
Logger.e("MangoService", "Failed to spawn command:", e);
}