I am trying to write javascript which should run cmd.exe with a specified command line in it like this docs.google.com/file/d/0B7QHCoQDlEvKWUZSX3oxUDI2SDg/edit:  I prepare a code after reading shellexecute method on microsoft site:  var objShell = ne...
hey i'm running the following code in nodejs shell   exec = require('child_process').exec    now i have exec var as function. then i run   exec('java',function (error, stdout, stderr) {console.log(error)});   and   exec('java...
I just want to call an external exe from a nodejs-App. This external exe makes some calculations and returns an output the nodejs-App needs. But I have no idea how to make the connection between nodejs and an external exe. So my questions:   How do I...
I wrote the following JavaScipt code which converts a binary number into a decimal number:  (function bin_dec(num) {   var x = num;   var result = 0;   for (var i = 0; i < x.length; i++) {     result += eval(x[x.length - i] * 2^i);   }   return re...
I am currently running a local server using WAMP and I am trying to set up Gulp.js. Here are the contents of my gulpfile:  var gulp = require('gulp'),     sass = require('gulp-ruby-sass'),     autoprefixer = require('gulp-autopref...
I have an application where the output is written into a file (.py) by using javascript.   I'm using this application to write python script into the file. Now I want to run the python script automatically on cmd(Windows) right after the output w...
I have a javascript file with a function that receives an Array with random numbers and returns a solution, I need to be able to run this function from the Command Line.  What i want is to be able to type something like: myFunction 1,2,3,4,5,6,7...
I would like to deploy a CMD/Terminal for a website using javascript. A CMD maybe just for running python and other basic commands. How should I go about doing so? Are there any examples? And is JavaScript the best way to go about doing this? Thanks!...
So I followed the docs here: https://github.com/modernizr/modernizr  1) cloned the repo using npm. 2) ran npm install inside modernizr to install its dependencies. 3) tried to run ./bin/modernizr -c lib/config-all.json  I am getting an error:  '....
There is a library Karma.  The version of the Node.js - 0.10.26.  The instructions indicated that the creation of the configuration file on the command line required to execute the command:  karma init   However, if while executing this command displ...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.