Use - in socket file name

This commit is contained in:
Kevin Sawicki
2015-03-17 16:51:52 -07:00
parent a64e1c9ca8
commit eb63556b27
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ _ = require 'underscore-plus'
temp = require 'temp'
directoryToOpen = temp.mkdirSync('browser-process-startup-')
socketPath = path.join(os.tmpdir(), "atom_#{process.env['USER']}.sock")
socketPath = path.join(os.tmpdir(), "atom-#{process.env.USER}.sock")
numberOfRuns = 10
deleteSocketFile = ->

View File

@@ -9,7 +9,7 @@ webdriverio = require "../../../build/node_modules/webdriverio"
AtomPath = remote.process.argv[0]
AtomLauncherPath = path.join(__dirname, "..", "helpers", "atom-launcher.sh")
ChromedriverPath = path.resolve(__dirname, '..', '..', '..', 'atom-shell', 'chromedriver', 'chromedriver')
SocketPath = path.join(temp.mkdirSync("socket-dir"), "atom_#{process.env['USER']}.sock")
SocketPath = path.join(temp.mkdirSync("socket-dir"), "atom-#{process.env.USER}.sock")
ChromedriverPort = 9515
buildAtomClient = (args, env) ->

View File

@@ -18,7 +18,7 @@ DefaultSocketPath =
if process.platform is 'win32'
'\\\\.\\pipe\\atom-sock'
else
path.join(os.tmpdir(), "atom_#{process.env.USER}.sock")
path.join(os.tmpdir(), "atom-#{process.env.USER}.sock")
# The application's singleton class.
#