pinokiod 3.15.17 → 3.15.18

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.
package/kernel/index.js CHANGED
@@ -566,7 +566,6 @@ class Kernel {
566
566
  process.kill(process.pid, "SIGTERM")
567
567
  }
568
568
  async init(options) {
569
- console.log("Kernel.init", new Error().stack)
570
569
 
571
570
  let home = this.store.get("home")
572
571
 
package/kernel/procs.js CHANGED
@@ -39,14 +39,12 @@ class Procs {
39
39
  }, 100)
40
40
  }
41
41
  async get_pids (stdout) {
42
- console.log("get_pids", stdout)
43
42
  // console.log("get_pids size", stdout.length)
44
43
  const results = [];
45
44
  let pids = new Set()
46
45
  let s = stdout.trim()
47
46
  const lines = s.split('\n');
48
47
  for(let line of lines) {
49
- console.log({ line })
50
48
  if (isWin) {
51
49
  // Skip headers
52
50
  try {
@@ -71,9 +69,7 @@ class Procs {
71
69
  ip = localAddress
72
70
  }
73
71
 
74
- console.log("isHttp?", ip)
75
72
  let isHttp = await this.isHttp(ip)
76
- console.log(isHttp)
77
73
  if (!isHttp) continue
78
74
 
79
75
 
@@ -133,29 +129,22 @@ class Procs {
133
129
  this.port_cb = cb
134
130
  this.port_running = true
135
131
  if (sh) {
136
- console.log("Shell exists")
137
132
  this.emit(id, cmd)
138
133
  } else {
139
- console.log("Shell doesn't exist. create one")
140
134
  this.kernel.exec({
141
135
  id,
142
136
  conda: {
143
137
  skip: true,
144
138
  },
145
139
  onready: () => {
146
- console.log("ON READY", { id, cmd })
147
140
  this.emit(id, cmd)
148
141
  },
149
142
  input: true
150
143
  }, (e) => {
151
- console.log("state", "<<" + e.state + ">>")
152
144
  if (e.state && e.state.includes(cls)) {
153
- console.log({ port_running: this.port_running })
154
145
  if (this.port_running) {
155
146
  this.port_running = false
156
- console.log("GET PIDS")
157
147
  this.get_pids(e.state).then((pids) => {
158
- console.log({ pids })
159
148
  this.portPidList = pids
160
149
  this.port_cb(pids)
161
150
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.15.17",
3
+ "version": "3.15.18",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {