aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/webtorrent.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/webtorrent.js')
-rw-r--r--lib/webtorrent.js2
1 files changed, 1 insertions, 1 deletions
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 @@
59 process.exit() 59 process.exit()
60 }) 60 })
61 61
62 var webtorrent_process = spawn(__dirname + '/webtorrentProcess.js', host, port, { detached: true }) 62 var webtorrent_process = spawn(pathUtils.join(__dirname, 'webtorrentProcess.js'), host, port, { detached: true })
63 webtorrent_process.stderr.on('data', function (data) { 63 webtorrent_process.stderr.on('data', function (data) {
64 // logger.debug('Webtorrent process stderr: ', data.toString()) 64 // logger.debug('Webtorrent process stderr: ', data.toString())
65 }) 65 })