opened
g-arjones
username_0
<!-- Please search existing issues to avoid creating duplicates. --> 
<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->

<!-- Use Help > Report Issue to prefill these. -->
- VSCode Version: 1.27.2
- OS Version: Ubuntu 16.04 64-bit

Steps to Reproduce:

1. [Clone this repo](https://github.com/username_0/vscode-task-provider-bug)
2. Run the extension
3. Run the "Terminal Test Task" provided by the extension
4. You should see something like `1111 == 1111` 
5. Run the same task again, you should see that Terminal.processId doesn't get updated

<!-- Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No
Terminal.processId property is not updated once terminal's process is changed
issue
created
g-arjones
username_0
@username_1 How may I help?
comment
created
Tyriar
username_1
To fix this you need to symlink an extension that uses the API to `~/.vscode-oss-dev/extensions/<extname>` (on macOS, might be different on Linux).

The files of interest are:

- https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/api/node/extHostTerminalService.ts
- https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/api/electron-browser/mainThreadTerminalService.ts
- terminalService, terminalInstance
comment
created
g-arjones
username_0
Oh, I see. Were you able to reproduce it?
comment
created
Tyriar
username_1
@username_0 no, but I believe I've heard this issue before.
comment
created
g-arjones
username_0
@username_1 Well, unless I am overlooking something, seems to be a regression from 35ae86231af1afd17bedc69ae89daf6fc3bd0d92
comment
closed
Tyriar
username_1
issue