-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use close
not exit
process event
#6587
Comments
close
not exit
event processclose
not exit
process event
I've reviewed all places. In most of cases listening to There are 2 places which look incorrect:
cc @marcdumais-work @marechal-p @elaihau |
From my understanding, it was implied that stdio buffers wouldn't necessarily be empty when the process exits. Just like "raw" child processes using Node's API. Did you expect it to be different? |
https://nodejs.org/docs/latest-v10.x/api/child_process.html#child_process_event_close looking at the documentation, it depends what people are looking after. I think it would make more sense to fire both |
Also, the code you linked in VS Code seems to be related to streams. So far, I also thought we were supposed to hook onto a process stream |
What about terminal process implementation? node-pty apparently has only I'm fine with adding a new event like in Node.js apis or using existing
|
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: #6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: #6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
The updated dependencies contain fix for: - The termination of the spawned process. The bogus process termination resulted in an empty string from the `stdout` as the `exec-path`. The empty string "path" was incorrectly normalized to `.`. (See: eclipse-theia#6587) - [win32]: Enhanced `git` discovery. The new logic falls back to `which`. - [win32]: The unstaging command. `-u` was added to ensure that git's index reflects a consistent view of the working tree after the operation has been performed. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
exit
event does not mean that all output was delivered,close
means it: https://nodejs.org/api/child_process.html#child_process_event_closevscode-jsonrpc uses
close
(https://github.com/microsoft/vscode-languageserver-node/blob/dd78cba181136e057cfcc4bb7bc17c7c78877648/jsonrpc/src/messageWriter.ts#L84) so it does not cause issues for filesystem watching, but our raw processes can miss output sometimesThe text was updated successfully, but these errors were encountered: