Skip to content

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

@zhangyt26

Description

@zhangyt26

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSome improvement that isn't a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions