Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: remove unused require from example
Closes GH-3801
  • Loading branch information
piscisaureus committed Jul 31, 2012
1 parent 80ab9a8 commit 9e2319f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/api/child_process.markdown
Expand Up @@ -449,8 +449,7 @@ See also: `child_process.exec()` and `child_process.fork()`

Runs a command in a shell and buffers the output.

var util = require('util'),
exec = require('child_process').exec,
var exec = require('child_process').exec,
child;

child = exec('cat *.js bad_file | wc -l',
Expand Down

0 comments on commit 9e2319f

Please sign in to comment.