mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
MangoService: possible final fix for spawn command
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user