Skip to content

Deno.shell API #29083

@felipecrs

Description

@felipecrs

Hi,

The deno task shell is great because it allows to run several commands in a cross-platform way.

Could you also make it available under a JavaScript API?

Something like:

await Deno.shell("mkdir -p myfolder") // similar to deno task --eval 'mkdir -p myfolder'

It would be tremendously useful, avoiding the need of libraries like:

At least for the use cases covered by deno task.

What do you think?

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