diff --git a/src/shell.js b/src/shell.js index 2745dbf82..c0c9d0af2 100644 --- a/src/shell.js +++ b/src/shell.js @@ -51,7 +51,7 @@ function spawn(tag, file, args, options, callback) { if (options.ipc) options.stdio = ['pipe', 'pipe', 'pipe', 'ipc']; - debug(tag + ' spawn: %s %s', file, args.join(' ')); + debug(tag + ' spawn: %s %s', file, args.join(' ').replace(/\n/g, '\\n')); const cp = child_process.spawn(file, args, options); if (options.logStream) {