Skip to content

shiraishimai/simple-exe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

simple-exe

Simple, easy command executor. No settings needed.

Installation

$ npm install simple-exe

Usage

Command String format:

var exe = require("simple-exe");
exe("echo Hello World!", err => {
    if (err) {
        console.log("Error with code:", err);
        throw err;
    }
    // ...
});

Simple-exe uses space to separate arguments, which means, if your argument contains spaces, you cannot just execute it in String format.

Command Array format:

exe(["echo", "Hello World!"], err => {
    // ...
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published