You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use @optional for ILocalTerminalService which is an electron-only service which obviously may not exist. Things to look at:
Consider merging local and remote services
Allow optionally passing in remoteAuthority to use the non-default connection
Use overloads for createProcess
Throw/error out when using local but it's not registered
Work around electron-sandbox problem with a contribution that registers itself to the new service?
Remove ILocalTerminalService from platform/terminal
Consider removing the service all together in favor of passing it directly such that no other component can rely on this internal to the terminal service
Since it's restricted to the electron-sandbox layer it can only be used when valid so
there's no concern about needing @optional here. The warning is to discourage any
usage outside of the terminal as this service deals with raw events to manage/
manipulate ptys. Without going through the TerminalService this could create processes
but they wouldn't get managed or displayed.
Part of #127878
We currently use
@optional
forILocalTerminalService
which is an electron-only service which obviously may not exist. Things to look at:createProcess
ILocalTerminalService
fromplatform/terminal
ILocalPtyService
Part of #119440
The text was updated successfully, but these errors were encountered: