Skip to content

Files

Latest commit

author
winton
Feb 13, 2019
a6bd955 · Feb 13, 2019

History

History
36 lines (26 loc) · 789 Bytes

README.md

File metadata and controls

36 lines (26 loc) · 789 Bytes

@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