【文件属性】:
文件名称:fluent-exec:在 Node.js 中执行 shell 的流畅接口
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-18 18:54:25
JavaScript
流畅的执行
在 Node.js 中执行 shell 的流畅接口
var exec = require ( 'fluent-exec' ) ;
exec . command ( 'echo your command' )
. then ( function ( stdout ) {
// the command was successful
} )
. catch ( function ( reason ) {
// an error occurred
} ) ;
【文件预览】:
fluent-exec-master
----lib()
--------exec.js(2KB)
----bump-version(196B)
----.travis.yml(117B)
----LICENSE(1KB)
----test()
--------exec.js(2KB)
----README.md(551B)
----.gitignore(587B)
----package.json(919B)