Skip to content

ribosome (.js?) buffers all of stdout #59

@norswap

Description

@norswap

ribosome.js uses exec to run the rna file, and patches stdout and stderr in the callback, hence preventing "live" update of stdout and stderr.

The fix is to use spawn instead of exec: https://stackoverflow.com/questions/10232192/exec-display-stdout-live

A simple workaround is to first generate the rna file, then run that. Still, having the same semantics for both methods would be preferable.

I'll gladly provide a patch for the JS version, but I won't bother with the others (if they do suffer from the same issue, which is not sure).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions