mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
Backport-PR-URL: https://github.com/nodejs/node/pull/13835 PR-URL: https://github.com/nodejs/node/pull/12735 Refs: https://github.com/nodejs/node/pull/12455 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
15 lines
315 B
JavaScript
15 lines
315 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const assert = require('assert');
|
|
const ch = require('child_process');
|
|
|
|
const SIZE = 100000;
|
|
|
|
const cp = ch.spawn('python', ['-c', `print ${SIZE} * "C"`], {
|
|
stdio: 'inherit'
|
|
});
|
|
|
|
cp.on('exit', common.mustCall(function(code) {
|
|
assert.strictEqual(0, code);
|
|
}));
|