From 4cf19ad1bbfea24d5f7931e825f3f8638924a23c Mon Sep 17 00:00:00 2001 From: Wyatt Preul Date: Mon, 24 Aug 2015 16:44:42 -0500 Subject: [PATCH] util: Remove exec, has been deprecated for years PR-URL: https://github.com/nodejs/node/pull/2530 Reviewed-By: Brian White Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- lib/util.js | 5 ----- 1 file changed, 5 deletions(-) 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]));