mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Add --executed-from as first argument
This commit is contained in:
parent
3dced04aab
commit
8f77d65aab
@ -3,7 +3,7 @@ var spawn = require('child_process').spawn;
|
||||
|
||||
var atomCommandPath = path.resolve(__dirname, '..', 'atom.exe');
|
||||
var arguments = process.argv.slice(2);
|
||||
arguments.push('--executed-from', process.cwd());
|
||||
arguments.unshift('--executed-from', process.cwd());
|
||||
var options = {detached: true, stdio: 'ignore'};
|
||||
spawn(atomCommandPath, arguments, options);
|
||||
process.exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user