骆驼线束
- - 软件包,用于异步处理脚本
快速开始
npm install camel-harness
const camelHarness = require ( "camel-harness" ) ;
let perlTest = { } ;
perlTest . script = "/test/test.pl" ;
perlTest . stdoutFunction = function ( stdout ) {
console . log ( stdout ) ;
} ;
camelHarness . startScript ( perlTest ) ;
核心依赖