Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
fix dev startup in win
Browse files Browse the repository at this point in the history
auditors: @bbondy, @bsclifton
  • Loading branch information
bridiver committed Aug 27, 2016
1 parent 602c84e commit d3c04c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ const spawn = require('child_process').spawn
process.env.NODE_ENV = process.env.NODE_ENV || 'development'
const options = {
env: process.env,
cwd: path.join(__dirname, '..')
shell: true
}
const electron = spawn('electron', ['./'].concat(process.argv.slice(2)), options)
const electron = spawn('electron', [path.join(__dirname, '..')].concat(process.argv.slice(2)), options)

electron.stdout.pipe(process.stdout)
electron.stderr.pipe(process.stderr)
Expand Down

0 comments on commit d3c04c1

Please sign in to comment.