webmux 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/backend/dist/server.js +1 -1
- package/package.json +1 -1
package/backend/dist/server.js
CHANGED
|
@@ -8018,7 +8018,7 @@ async function attach(worktreeName, cols, rows, initialPane) {
|
|
|
8018
8018
|
log.debug(`[term] attach(${worktreeName}) tmuxSession=${tmuxSession} gName=${gName} window=wm-${worktreeName}`);
|
|
8019
8019
|
killTmuxSession(gName);
|
|
8020
8020
|
const cmd = buildAttachCmd({ gName, worktreeName, tmuxSession, cols, rows, initialPane });
|
|
8021
|
-
const scriptArgs = process.platform === "darwin" ? ["
|
|
8021
|
+
const scriptArgs = process.platform === "darwin" ? ["python3", "-c", "import pty,sys;pty.spawn(sys.argv[1:])", "bash", "-c", cmd] : ["script", "-q", "-c", cmd, "/dev/null"];
|
|
8022
8022
|
const proc = Bun.spawn(scriptArgs, {
|
|
8023
8023
|
stdin: "pipe",
|
|
8024
8024
|
stdout: "pipe",
|