src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts/taskShellIntegrationWaitOnExitSequence
function taskShellIntegrationWaitOnExitSequence(message: string): (exitCode: number) => string {
	return (exitCode) => {
		return `${VSCodeSequence(VSCodeOscPt.CommandFinished, exitCode.toString())}${message}`;
	};
}