diff --git a/preload.js b/preload.js index 8a6a633..940df27 100644 --- a/preload.js +++ b/preload.js @@ -29,7 +29,7 @@ getIco = isWin ? require('icon-extractor') : require('file-icon'); totalMem = os.totalmem(); powershell = (cmd, callback) => { - const ps = spawn('powershell', ['-Command', cmd], { encoding: 'buffer' }) + const ps = spawn('powershell', ['-NoProfile', '-Command', cmd], { encoding: 'buffer' }) let chunks = []; let err_chunks = []; ps.stdout.on('data', chunk => { @@ -88,4 +88,8 @@ taskkill = (task, path, callback) => { callback(stderr); }); } -} \ No newline at end of file +} + +tasklist(l => { + console.log(l); +}) \ No newline at end of file diff --git a/releases/ProcessKiller-0.0.6.upx b/releases/ProcessKiller-0.0.6.upx index d0bf1b3..35fdd7c 100644 Binary files a/releases/ProcessKiller-0.0.6.upx and b/releases/ProcessKiller-0.0.6.upx differ