Merge pull request #789 from thecodacus/bolt-shell-race-condition
Browse files- app/utils/shell.ts +1 -0
app/utils/shell.ts
CHANGED
@@ -105,6 +105,7 @@ export class BoltShell {
|
|
105 |
* this.#shellInputStream?.write('\x03');
|
106 |
*/
|
107 |
this.terminal.input('\x03');
|
|
|
108 |
|
109 |
if (state && state.executionPrms) {
|
110 |
await state.executionPrms;
|
|
|
105 |
* this.#shellInputStream?.write('\x03');
|
106 |
*/
|
107 |
this.terminal.input('\x03');
|
108 |
+
await this.waitTillOscCode('prompt');
|
109 |
|
110 |
if (state && state.executionPrms) {
|
111 |
await state.executionPrms;
|