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
I have a JavaScript debugger extension. From it, I would like to start another program.
Currently, I am using ExecuteCommand to run .shell to start the program. This mostly works. However, if the program runs for more than ten seconds, the debugger gets "stuck," with the command window waiting for "Input>".
Repro Steps:
Create a new JavaScript imperative extension with the following contents:
Observe that the debugger is now stuck waiting for input.
If we run the .shell directly in the command window, we can see what the problem is:
0:022> .shell -ci "*" powershell -Command "Start-Sleep -Seconds 15"
<.shell waiting 10 second(s) for process>
<.shell running: .shell_quit to abandon, ENTER to wait>.shell: Process exited
However, when running the command from a script, the output from .shell is not printed to the command window so there is no indication as to why things are stuck.
It would be nice if the Debugger Data Model just exposed something similar to ExecuteCommand that can be used to run another program.
The text was updated successfully, but these errors were encountered:
I have a JavaScript debugger extension. From it, I would like to start another program.
Currently, I am using
ExecuteCommand
to run.shell
to start the program. This mostly works. However, if the program runs for more than ten seconds, the debugger gets "stuck," with the command window waiting for "Input>".Repro Steps:
Observe that the debugger is now stuck waiting for input.
If we run the
.shell
directly in the command window, we can see what the problem is:However, when running the command from a script, the output from .shell is not printed to the command window so there is no indication as to why things are stuck.
It would be nice if the Debugger Data Model just exposed something similar to
ExecuteCommand
that can be used to run another program.The text was updated successfully, but these errors were encountered: