aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/webtorrent.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-02-07 10:39:37 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-02-07 10:39:37 +0100
commitb3077e417056f18225957f65419b87de72117fe3 (patch)
treebe00437c83175ca09b184df6fb21ffe149e11ff8 /lib/webtorrent.js
parentc5a8be2b6282d2042e469e1b7c1e7ce8795c026f (diff)
downloadPeerTube-b3077e417056f18225957f65419b87de72117fe3.tar.gz
PeerTube-b3077e417056f18225957f65419b87de72117fe3.tar.zst
PeerTube-b3077e417056f18225957f65419b87de72117fe3.zip
Standard v6
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 })