debug: replace newline in args
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user