Skip to content

Commit 95dbcf1

Browse files
authored
Merge pull request #789 from thecodacus/bolt-shell-race-condition
fix: added wait till terminal prompt for bolt shell execution
2 parents 296e5d9 + 69c58c1 commit 95dbcf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/utils/shell.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export class BoltShell {
105105
* this.#shellInputStream?.write('\x03');
106106
*/
107107
this.terminal.input('\x03');
108+
await this.waitTillOscCode('prompt');
108109

109110
if (state && state.executionPrms) {
110111
await state.executionPrms;

0 commit comments

Comments
 (0)