Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-99] appcd-plugin: Plugin host spawns a new console window on Windows

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2017-10-25T16:04:01.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 1.0.0
Componentsappcd-plugin
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2017-10-12T15:10:34.000+0000
Updated2017-10-26T02:59:22.000+0000

Description

Description

On Windows when calling to a plugin (for example appcd exec /jdk/latest/info) a new node console window is spawned. This window then stays open until it's either killed by a user or the daemon is stopped. This could be problematic as it means that spawned plugins can pretty much die at the whim of a user. I'm not sure whether it's fully possible to suppress the window however, recent PR into node might add that behaviour though https://github.com/nodejs/node/pull/15380

Comments

  1. Chris Barber 2017-10-12

    We've seen this before, specifically with launching the Android Emulator. I'll take a look.
  2. Ewan Harris 2017-10-19

    Trying out https://github.com/nodejs/node/pull/15380 in https://nodejs.org/download/nightly/v9.0.0-nightly2017101870832bc353/ and the console window is no longer shown constantly, there is however a brief flash as the plugin spawns
  3. Ewan Harris 2017-10-19

    PR to wire up windowsHide into subprocess https://github.com/appcelerator/appc-daemon/pull/87

JSON Source