Skip to content

projectorjs/projector-spawn

Repository files navigation

projector-spawn

Spawn processes with ease

Installation

yarn add --dev projector-spawn

Usage

import spawn from 'projector-spawn';

export async function build() {
  await spawn('script-name', ['--flag'], {
    cwd: '/path/to/cwd'
  });
}