Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[doc] Fix wrong example code

  • Loading branch information...
commit 11a3124300498a2d089f56120aab13a4afaa99d7 1 parent e4e955a
Maciej Małecki authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  README.md
2  README.md
Source Rendered
@@ -10,7 +10,7 @@ Spawn commands like `child_process.exec` does but return a `ChildProcess`.
10 10 var spawnCommand = require('spawn-command'),
11 11 child = spawnCommand('echo "Hello spawn" | base64');
12 12
13   -child.on('stdout', function (data) {
  13 +child.stdout.on('data', function (data) {
14 14 console.log('data', data);
15 15 });
16 16

0 comments on commit 11a3124

Please sign in to comment.
Something went wrong with that request. Please try again.