Hello:
am trying to validate the value of MAXDEPTH below. if it is greater than x or less than y, execute the function updateMaxdepth(). Otherwise print error saying input value out of bounds.
So I have inserted the if/else block below but its not working.
It is at the borrom of the following...
Hello:
Trying to run the following code but the arrays is not getting populated.
bash.cmd_4 works but bash.cmd_1 returns nothing.
I am guessing I am missing some delimiters.
Pls advise, Thank you !!
var array_id = new Array();
app.get('/qmgrs', function(req, res) {
var QMGR =...
Hello:
Newbie question here: Trying to pass a var to the child_process shell command.
Not sure what should be proper syntax. Thnx
const exec = require('child_process').exec
app.listen(port);
console.log('Server started! At http://10.130.16.65:' + port);
function execute(command) {...
Heloo Experts:
I am getting the "SyntaxError: missing ) after argument list" error
for the code below:
==========================================
function execute(command) {
const exec = require('child_process').exec
exec(command, (err, stdout, stderr) => {
process.stdout.write(stdout)
})
}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.