diff --git a/lib/util.js b/lib/util.js index b034b29b55f74a..eeeb42a9489821 100644 --- a/lib/util.js +++ b/lib/util.js @@ -838,11 +838,6 @@ function hasOwnProperty(obj, prop) { // Deprecated old stuff. -exports.exec = internalUtil.deprecate(function() { - return require('child_process').exec.apply(this, arguments); -}, 'util.exec is deprecated. Use child_process.exec instead.'); - - exports.print = internalUtil.deprecate(function() { for (var i = 0, len = arguments.length; i < len; ++i) { process.stdout.write(String(arguments[i]));