Skip to content

Commit d72191f

Browse files
committed
Fix: Clean up correct flatpak-spawn PID
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
1 parent 98c0b61 commit d72191f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util/processes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function terminateProcess(p: cp.ChildProcess, extensionPath: string): Ter
1313
if (process.platform === 'darwin' || process.platform === 'linux') {
1414
try {
1515
const cmd = path.join(extensionPath, 'scripts', 'terminateProcess.sh');
16-
const result = cp.spawnSync("/usr/bin/flatpak-spawn", ["--host", cmd, p.pid!.toString()]);
16+
const result = cp.spawnSync(cmd, [p.pid!.toString()]);
1717
if (result.error) {
1818
return { success: false, error: result.error };
1919
}

0 commit comments

Comments
 (0)