0.0.5 • Published 9 years ago

acall.js v0.0.5

Weekly downloads
22
License
GPLv2
Repository
github
Last release
9 years ago

acall.js

Build Status

A simple wrapper for a node.js spawn call which gives an easy callback to get stdout.

Usage

var acall = require("acall.js");

acall("date", function(error, output)
{
  if (error)
  {
    console.log(error);
    return;
  }

  console.log(output);
});

acall([ "echo", "hello" ], function(error, output)
{
  if (error)
  {
    console.log(error);
    return;
  }

  console.log(output);
});

acall("ls", { cwd: "/" }, function(error, output)
{
  if (error)
  {
    console.log(error);
    return;
  }

  console.log(output);
});
0.0.5

9 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago