Skip to content

dot-event/spawn

Repository files navigation

@dot-event/spawn

dot-event process spawn

spawn

Install

npm install dot-event @dot-event/spawn

Setup

const dot = require("dot-event")()
require("@dot-event/spawn")(dot)

Usage

await dot.spawn("test", {
  args: ["hi"],
  command: "echo",
  save: true,
})

Options

Option Description
args Array of command arguments
command Command to spawn
save Save output to store

About

dot-event process spawn

Resources

Stars

Watchers

Forks

Packages

No packages published