Skip to content

Make writing to stdout and stderr not crash #2

Closed

Description

@erikrose

We're using --stub-wasi at the moment, which means things like fd_write are coded to immediately trap. Quit that. stdout and stderr not being in the preopens may also be a barrier; adding those should be possible with changes to Viceroy.

It may be possible and desirable to monkeypatch in Python to redirect stdout and stderr to a logging endpoint, though our initial attempts were unsuccessful.

Activity

  1. posborne commented on Sep 4, 2025

    @posborne
    Member

    Resolved with #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions