Remove initial daemon killing
This commit is contained in:
parent
cf4b5ddc93
commit
05c434ff81
1 changed files with 0 additions and 15 deletions
|
@ -12,21 +12,6 @@ export default class Daemon {
|
|||
}
|
||||
|
||||
launch() {
|
||||
// Kill any running daemon
|
||||
// if (process.platform === 'win32') {
|
||||
// try {
|
||||
// execSync('taskkill /im lbrynet-daemon.exe /t /f');
|
||||
// } catch (error) {
|
||||
// console.warn(error.message);
|
||||
// }
|
||||
// } else {
|
||||
// try {
|
||||
// execSync('pkill lbrynet-daemon');
|
||||
// } catch (error) {
|
||||
// console.warn(error.message);
|
||||
// }
|
||||
// }
|
||||
|
||||
console.log('Launching daemon:', Daemon.path);
|
||||
this.subprocess = spawn(Daemon.path);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue