TerminalOptions.waitOnExit API
See original GitHub issueenum WaitOnExitType {
Never = 0,
NonZeroExitCode = 1,
Always = 2
}
export interface TerminalOptions {
/**
* Whether the terminal panel should wait before closing when a terminal's process exits.
*/
waitOnExit?: WaitOnExitType;
}
waitOnExit was originally proposed as a boolean in https://github.com/Microsoft/vscode/issues/15583
Issue Analytics
- State:
- Created 5 years ago
- Reactions:21
- Comments:12 (8 by maintainers)
Top Results From Across the Web
TerminalServiceMainImpl | Theia TypeDoc
Plugin api service allows working with terminal emulator. ... $createTerminal(id: string, options: TerminalOptions, isPseudoTerminal?: boolean): ...
Read more >Variable in class com.mindbright.security.pkcs7.SignerInfo
This class implements a module for GSS API user authentication as defined in RFC 4462. SSH2AuthGSS() - Constructor for class com.mindbright.ssh2.
Read more >"Fossies" - the Fresh Open Source Software Archive
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m working to enable debugging plugin goal of a Maven project, leveraging Java Debugger extension. The workflow is:
MAVEN_OPTS
injected, which specifies the listening port (a random free port).After terminating the debug session, users may still want to re-visit the diagnostic info printed, so I want to i) persist the printed info there. But as the injected env will force all maven commands to run in debug mode, I also want to ii) prevent users from re-using the terminal.
Would also like to bump this FR - currently our workaround for the stanza REPL is to invoke it through a secondary launcher process which waits to exit on input.