mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix #731: "externalTerminal" does not work on Linux
Do not wait for "runInTerminal" response when spawning the launcher.
This commit is contained in:
parent
627bc1d647
commit
7676e298b5
1 changed files with 3 additions and 1 deletions
|
|
@ -155,7 +155,9 @@ def spawn_debuggee(
|
|||
if cwd is not None:
|
||||
request_args["cwd"] = cwd
|
||||
try:
|
||||
session.client.channel.request("runInTerminal", request_args)
|
||||
# It is unspecified whether this request receives a response immediately, or only
|
||||
# after the spawned command has completed running, so do not block waiting for it.
|
||||
session.client.channel.send_request("runInTerminal", request_args)
|
||||
except messaging.MessageHandlingError as exc:
|
||||
exc.propagate(start_request)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue