mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
e8f002ac5d
Summary: Getting rid of things that I'm pretty sure we don't need. Lmk if you see anything to the otherwise. Test Plan: edgehill --test Reviewers: bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D1799
9 lines
347 B
JavaScript
9 lines
347 B
JavaScript
var path = require('path');
|
|
var spawn = require('child_process').spawn;
|
|
|
|
var atomCommandPath = path.resolve(__dirname, '..', '..', 'atom.exe');
|
|
var arguments = process.argv.slice(2);
|
|
arguments.unshift('--executed-from', process.cwd());
|
|
var options = {detached: true, stdio: 'ignore'};
|
|
spawn(atomCommandPath, arguments, options);
|
|
process.exit(0);
|