Create CustomExecution2 test, make start fire after onDidOpenTerminal

Part of #70978
This commit is contained in:
Daniel Imms
2019-07-23 17:35:11 -07:00
parent df5d748fe5
commit 9d43802fd4
3 changed files with 70 additions and 3 deletions

View File

@@ -588,7 +588,7 @@ export class ExtHostTask implements ExtHostTaskShape {
// Clone the custom execution to keep the original untouched. This is important for multiple runs of the same task.
this._activeCustomExecutions2.set(execution.id, execution2);
this._terminalService.attachVirtualProcessToTerminal(terminalId, await execution2.callback());
await this._terminalService.attachVirtualProcessToTerminal(terminalId, await execution2.callback());
}
// Once a terminal is spun up for the custom execution task this event will be fired.