Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2014-10-03 09:44:23 +0400
committerFeross Aboukhadijeh <feross@feross.org>2014-10-03 09:44:23 +0400
commit97aa92bdb9c27aec178593f379f0880392ba3fe2 (patch)
treeaa65f8ca94b13a0a5ad0289f824b81697a5547e3 /bin
parent3e211b2ce8451a1ecb2bf1f253812a78c4ad0143 (diff)
name process 'WebTorrent'
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cmd.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index 5d99467..4f9d348 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -13,6 +13,8 @@ var prettysize = require('prettysize')
var WebTorrent = require('../')
var xbmc = require('nodebmc')
+process.title = 'WebTorrent'
+
process.on('exit', function (code) {
if (code !== 0) {
clivas.line('{red:ERROR:} If you think this is a bug in webtorrent, report it!')