Skip to content

How to run variable command? #96

@theowenyoung

Description

@theowenyoung

Hi, thanks for the great lib, I met a question, how to run a variable command?

when I run this, it throws /bin/bash: echo hello: command not found

const command = "echo hello";
await $`${command}`;

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