]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - lib/webtorrent.js
Standard v6
[github/Chocobozzz/PeerTube.git] / lib / webtorrent.js
index 7cd38156ccc18483aaf3f6af24cfc27307a0f28c..083e5b77a3f27f8eac86b9e50170d02e3f784e21 100644 (file)
@@ -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())
       })