Fix tmux executeCommand exitCode parsing
This commit is contained in:
@@ -591,7 +591,8 @@ export async function executeCommand({
|
|||||||
pane.id,
|
pane.id,
|
||||||
"#{pane_dead_status}",
|
"#{pane_dead_status}",
|
||||||
]);
|
]);
|
||||||
exitCode = parseInt(exitCodeStr, 10);
|
const parsed = parseInt(exitCodeStr, 10);
|
||||||
|
exitCode = Number.isFinite(parsed) ? parsed : null;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user