Skip to content
This repository was archived by the owner on Nov 29, 2025. It is now read-only.

ProcessInfo is empty when invoking carton test #400

@stephencelis

Description

@stephencelis

I am trying to figure out how to detect, at runtime, from SwiftWasm, if it's being run from carton test, but ProcessInfo arguments and environment are totally empty. I was hoping to be able to see something like ["carton", "test", "--environment", "node"] and use this.

(I can't rely on arguments passed by the user, since this is library code.)

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