javascript - How to print in console message from a process executing in gulp-run? -


i using gulp-run in order execute command "vagrant up" (valid other command).

when running "vagrant up" in command prompt log messages printed, when running same command gulp-run no messages printed in command propmt.

my question:

  • how show log messages process being called when using gulp-run in command prompt gulp-run executed?
  • if know better way call command in gulp script, please let me know.

 gulp.task('test', function () {         var cmd = new run.command('vagrant up', {             cwd: '../util/vagrant_tools',             verbosity:2         });         cmd.exec();     }) 

set verbosity option 3.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -