Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/rentals.picotech.app/public_html/node_modules/spawn-command/test/ drwxr-xr-x |
Viewing file: Select action/file-type: var path = require('path'), assert = require('assert'), assertCalled = require('assert-called'), spawnCommand = require('../'); var win32 = (process.platform === 'win32'), newln = win32 ? '\r\n' : '\n', grep = win32 ? 'findstr' : 'grep', child = spawnCommand(grep + ' commit < ' + path.join(__dirname, 'fixtures', 'commit')), stderr = '', stdout = '', exited = false; child.stdout.on('data', function (chunk) { stdout += chunk; }); child.stderr.on('data', function (chunk) { stderr += chunk; }); child.on('exit', assertCalled(function (exitCode) { assert.equal(exitCode, 0); assert.equal(stdout, 'commit 26b11915b1c16440468a4b5f4b07d2409b98c68c' + newln); assert.equal(stderr, ''); })); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0031 ]-- |