Update vyper.js

pull/3094/head
yann300 6 years ago committed by GitHub
parent d1320b21a6
commit 861588ba12
  1. 4
      src/services/vyper.js

@ -1,4 +1,4 @@
var spawn = require('child_process').spawn
var exec = require('child_process').exec
var stdout = require('stdout')
module.exports = function () {
@ -15,7 +15,7 @@ module.exports = function () {
function run (app, args) {
var proc
try {
proc = spawn(app, args)
proc = exec(app, args)
proc.on('error', (err) => {
console.log('\x1b[31m%s\x1b[0m', '[ERR] can\'t start ' + app + '. seems not installed')
console.log(err)

Loading…
Cancel
Save