From b3077e417056f18225957f65419b87de72117fe3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 7 Feb 2016 10:39:37 +0100 Subject: Standard v6 --- lib/webtorrent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/webtorrent.js') diff --git a/lib/webtorrent.js b/lib/webtorrent.js index 7cd38156c..083e5b77a 100644 --- a/lib/webtorrent.js +++ b/lib/webtorrent.js @@ -59,7 +59,7 @@ process.exit() }) - var webtorrent_process = spawn(__dirname + '/webtorrentProcess.js', host, port, { detached: true }) + var webtorrent_process = spawn(pathUtils.join(__dirname, 'webtorrentProcess.js'), host, port, { detached: true }) webtorrent_process.stderr.on('data', function (data) { // logger.debug('Webtorrent process stderr: ', data.toString()) }) -- cgit v1.2.3