🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

command-execute

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

command-execute - npm Package Compare versions

Comparing version

to
1.0.0-rc1.4

2

package.json
{
"name": "command-execute",
"version": "1.0.0-rc1.3",
"version": "1.0.0-rc1.4",
"description": "A little utility for running shell/cmd/powershell command in node",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -8,3 +8,3 @@ # Command-execute

const exec = require('command-execute');
exec (command,stdoutPath,stderrPath) //If you don't use stdoutPath and/or stderrPath, it would defaultly use console.out() to output the contnent.
exec.exec(command,stdoutPath,stderrPath) //If you don't use stdoutPath and/or stderrPath, it would defaultly use console.out() to output the contnent.
```