Update vyper.js

remixd
yann300 6 years ago committed by GitHub
parent 7853663ce6
commit 10e9d27df7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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