We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bc5c38 commit 4752fc4Copy full SHA for 4752fc4
test/parallel/test-child-process-spawnsync-maxbuf.js
@@ -1,12 +1,14 @@
1
'use strict';
2
require('../common');
3
+
4
+// This test checks that the maxBuffer option for child_process.spawnSync()
5
+// works as expected.
6
7
const assert = require('assert');
8
9
const spawnSync = require('child_process').spawnSync;
10
11
const msgOut = 'this is stdout';
-
-// This is actually not os.EOL?
12
const msgOutBuf = Buffer.from(`${msgOut}\n`);
13
14
const args = [
0 commit comments