Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoiding qemu-system-x86_64.exe console window #4102

Closed
doffltmiw opened this issue Nov 6, 2018 · 1 comment
Closed

Avoiding qemu-system-x86_64.exe console window #4102

doffltmiw opened this issue Nov 6, 2018 · 1 comment
Assignees

Comments

@doffltmiw
Copy link

On windows, tns run android creates another console window with the title C:\Users\username\AppData\Local\Android\sdk\emulator/qemu/windows-x86_64/qemu-system-x86_64.exe, which is a little detracting.

Is this inevitable?

@KristianDD KristianDD self-assigned this Nov 7, 2018
@KristianDD
Copy link
Contributor

Hi @doffltmiw ,
There seem to be multiple issues logged inside Node.js repository about this(for example this.

I investigated the issue and I found that the emulator.exe, which we spawn, always creates the console window. The spawn configuration I used was :

child_process.spawn("<path-to-sdk>\emulator.exe -avd SomeImage", { stdio: 'ignore', detached: true, windowsHide: true, shell: false })`.

It works only if I don't spawn emulator.exe as a detached process, but that means that terminating the CLI command will close the emulator, which is inconvenient for most users.

This behavior seems to be specific to this executable and out of our control, so I am closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants