We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89a6f42 commit 9d4b49dCopy full SHA for 9d4b49d
src/node/runtime/SSHBackgroundHandle.ts
@@ -61,7 +61,8 @@ export class SSHBackgroundHandle implements BackgroundHandle {
61
62
try {
63
// Use shared buildTerminateCommand for parity with Local
64
- const exitCodePath = `${this.outputDir}/exit_code`;
+ // Must expand tilde - buildTerminateCommand uses shellQuote which prevents expansion
65
+ const exitCodePath = expandTildeForSSH(`${this.outputDir}/exit_code`);
66
const terminateCmd = buildTerminateCommand(this.pid, exitCodePath);
67
await execBuffered(this.sshRuntime, terminateCmd, {
68
cwd: "/",
0 commit comments