docs: remove unused require from example
authorBert Belder <bertbelder@gmail.com>
Tue, 31 Jul 2012 19:38:58 +0000 (21:38 +0200)
committerBert Belder <bertbelder@gmail.com>
Tue, 31 Jul 2012 19:38:58 +0000 (21:38 +0200)
Closes GH-3801

doc/api/child_process.markdown

index 5e10948..3bd79f2 100644 (file)
@@ -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',