Answer the question
In order to leave comments, you need to log in
How to run exe file from Gulp task?
You just need to run the .exe file located in the dist/*.exe folder below the directory from the task
installed the gulp-run-command plugin, I run
it like this:
var run = require('gulp-run-command').default;
gulp.task('test', run('./dist/qt_webconvert_array.exe'));
gulp.task('default',['minSvg'],function() {
//------------------------------
var options={
Confinlinesource:{
compress: true,
},
Confhtmlmin:{
collapseWhitespace: true,
removeComments:true
}
};
.pipe(inlinesource(options.Confinlinesource))
.pipe(htmlmin(options.Confhtmlmin))
.pipe(gulp.dest('dist'))
.pipe(gzip())
.pipe(gulp.dest('dist'))
.pipe(run('./dist/qt_webconvert_array.exe'));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question