Created
September 7, 2015 19:25
-
-
Save evanlucas/9f5d0e51d37d74f0da4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/internal/child_process.js b/lib/internal/child_process.js | |
index 6d1c22d..6155f9a 100644 | |
--- a/lib/internal/child_process.js | |
+++ b/lib/internal/child_process.js | |
@@ -271,6 +271,10 @@ ChildProcess.prototype.spawn = function(options) { | |
this.spawnfile = options.file; | |
this.spawnargs = options.args; | |
+ console.log(require('util').inspect(options, { | |
+ colors: true, | |
+ depth: null | |
+ })); | |
var err = this._handle.spawn(options); | |
// Run-time errors should emit an error, not throw an exception. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment