pinokiod 3.15.24 → 3.15.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/kernel/procs.js +4 -4
  2. package/package.json +1 -1
package/kernel/procs.js CHANGED
@@ -141,7 +141,6 @@ class Procs {
141
141
  }
142
142
  getPortPidList(cb) {
143
143
  const cmd = isWin ? 'netstat -ano -p tcp' : 'lsof -nP -iTCP -sTCP:LISTEN';
144
- /*
145
144
  // if (this.portPidList) {
146
145
  // cb(this.portPidList)
147
146
  // return
@@ -187,12 +186,13 @@ class Procs {
187
186
  console.log("Exec Finished", {result})
188
187
  })
189
188
  }
190
- */
189
+ /*
191
190
  exec(cmd, { maxBuffer: 10 * 1024 * 1024 }, async (err, stdout) => {
192
191
  this.get_pids(stdout).then((pids) => {
193
192
  cb(pids)
194
193
  })
195
194
  });
195
+ */
196
196
  }
197
197
  get_name(stdout) {
198
198
  // console.log("get_name size", stdout.length)
@@ -232,7 +232,6 @@ class Procs {
232
232
  return
233
233
  }
234
234
  const cmd = isWin ? 'tasklist /fo csv /nh' : 'ps -Ao pid,comm';
235
- /*
236
235
  let id = "Procs.getPidToNameMap"
237
236
  let sh = this.kernel.shell.get(id)
238
237
  this.pid_cb = cb
@@ -271,7 +270,7 @@ class Procs {
271
270
  console.log("Exec Finished", {result})
272
271
  })
273
272
  }
274
- */
273
+ /*
275
274
  exec(cmd, { maxBuffer: 10 * 1024 * 1024 }, async (err, stdout) => {
276
275
  let map = this.get_name(stdout)
277
276
  if (!this.port_map) {
@@ -282,6 +281,7 @@ class Procs {
282
281
  }
283
282
  cb(this.port_map)
284
283
  });
284
+ */
285
285
  }
286
286
  async refresh() {
287
287
  let map = {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.15.24",
3
+ "version": "3.15.25",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {