code-server icon indicating copy to clipboard operation
code-server copied to clipboard

A way to launch tasks without being blocked by I/O buffering

Open zhangyt26 opened this issue 5 months ago • 0 comments

What is your suggestion?

When computer goes to sleep, the executing (mostly JVM) tasks will hang possibly pending for STDOUT buffer and it is expecting a connecting vscode client. However if you resume the tab back to active, it will start making progress again.

This behavior is very annoying because it prevents people from walking away from their tab when running long running tasks. Ideally, it will be great if there is a configuration in code-server that let's us customize the behavior for tasks kicked off from vscode tasks API, and hopefully this configuration will apply to all the 3rd party extensions.

Why do you want this feature?

Being able to run long running tasks without an active browser tab

Are there any workarounds to get this functionality today?

I think if I do tmux or or pipe the output to somewhere else, it might work. But it is not a native vscode experience.

Are you interested in submitting a PR for this?

No

zhangyt26 avatar Jul 31 '25 22:07 zhangyt26