dot-event process spawn
npm install dot-event @dot-event/spawnconst dot = require("dot-event")()
require("@dot-event/spawn")(dot)await dot.spawn("test", {
args: ["hi"],
command: "echo",
save: true,
})| Option | Description |
|---|---|
args |
Array of command arguments |
command |
Command to spawn |
save |
Save output to store |
