Skip to content

Commit

Permalink
Merge pull request #789 from thecodacus/bolt-shell-race-condition
Browse files Browse the repository at this point in the history
fix: added wait till terminal prompt for bolt shell execution
  • Loading branch information
thecodacus authored Dec 19, 2024
2 parents 296e5d9 + 69c58c1 commit 95dbcf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/utils/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export class BoltShell {
* this.#shellInputStream?.write('\x03');
*/
this.terminal.input('\x03');
await this.waitTillOscCode('prompt');

if (state && state.executionPrms) {
await state.executionPrms;
Expand Down

0 comments on commit 95dbcf1

Please sign in to comment.