Skip to content

leon123858/nodeShellCommander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview:

ShellCommander is a child_process wrapper for execute shell command in node

Example:

import { execute, executeJsFile, executePs1File } from 'shellcommander'
const result = await execute(`node --version`);
try {
	await execute(`fakeCommand test`);
} catch {
  return;
}
await executeJsFile('./dist/index.js');
await executePs1File('./test/test.ps1');

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published