mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
docs: remove unused require from example
Closes GH-3801
This commit is contained in:
parent
80ab9a891a
commit
9e2319f977
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user