Skip to content

Support echo-ing environment variables #291

@freitagbr

Description

@freitagbr

echo() should be updated to support echo-ing environment variables. Currently, echo('$TERM') will simply echo $TERM. We should allow distinction between strings and variables. Maybe something like this:

echo(null, '$TERM'); // 'xterm-256color'

Environment variables are visible to Node through the process.env object, which contains the user environment.

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