Skip to content

Commit

Permalink
Use binary name to spawn child
Browse files Browse the repository at this point in the history
  • Loading branch information
ruimarinho committed Jan 17, 2020
1 parent e466f33 commit f30c042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async function writeCredentials(profile, { accessKeyId, secretAccessKey, expirat
log('User is not authenticated, spawning headful instance');

const spawn = require('child_process').spawn;
const ui = spawn('node', ['index.js', '--headful'], { stdio: 'inherit' });
const ui = spawn('gsts', ['--headful'], { stdio: 'inherit' });
ui.on('close', code => log(`Headful instance has exited with code ${code}`))
}

Expand Down

0 comments on commit f30c042

Please sign in to comment.