this command line script will do it easily 
https://github.com/zombieleet/bash-repple

On Sunday, December 11, 2016 at 1:22:16 AM UTC+1, emerb nura wrote:
>
> Hi,
> Im new to Node.js,I want to execute shell commands using Node.js.When I 
> tried a simple command(ipconfig), I got the outout.But I want to execute 
> CLI commands, So in order to do so I need to execute the commands in a 
> particular path .How to set path from script?. I used child_process.exec() 
> for executing shell commands.Kindly share the code to execute the commands 
> in a particular path.  Thanks
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/e77ce961-fabe-4e55-b490-eb6b5d599129%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to