0.0.8 • Published 5 years ago

terminal-exec v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

terminal-exec

"terminal-exec" is a Node.js module used to execute command in terminal. It is very useful when your command need interactive. For example, "sudo" need user enter password.

Requirement

"terminal-exec" had been tested in Windows 7 (64bit) and Ubuntu 16.04 LTS (64bit) with Node.js v10.15.0.

Install

npm i terminal-exec

Usage

Windows

const terminalExec = require('./index.js')
terminalExec('echo "Hello world" && pause')

Result:

image

Linux

const terminalExec = require('./index.js')
terminalExec('sudo echo "Hello world" & pause')

Result:

anime


Websites

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago