util: Remove exec, has been deprecated for years · nodejs/node@4cf19ad (original) (raw)

Original file line number Diff line number Diff line change
@@ -838,11 +838,6 @@ function hasOwnProperty(obj, prop) {
838 838
839 839 // Deprecated old stuff.
840 840
841 -exports.exec = internalUtil.deprecate(function() {
842 -return require('child_process').exec.apply(this, arguments);
843 -}, 'util.exec is deprecated. Use child_process.exec instead.');
844 -
845 -
846 841 exports.print = internalUtil.deprecate(function() {
847 842 for (var i = 0, len = arguments.length; i < len; ++i) {
848 843 process.stdout.write(String(arguments[i]));