Skip to content

afterburn/create-process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-process

enter image description here

Small utility library to help your create and manage node processes more easily. (work in progress)

Installation

npm install --save create-process

Usage

const createProcess = require('create-process')

// Simple usage:
const p = createProcess('npm run build')

// Advanced usage:
const p = createProcess({
  cmd: 'npm',
  args: ['run', 'build'],
  opts: {
    cwd: path.join(__dirname, '..')
  }
})

// Killing your process:
p.kill()

About

Small utility function to help your create and manage node processes more easily

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published