dromara / dromara/electron-egg

windowns环境下,ee-bin4.2.0版本中,退出会导致powershell崩溃

Open
#193 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.5k
Forks
336
PR merge metrics
No merged PRs in 30d

Description

> ee@4.2.0 dev-electron
> ee-bin dev --serve=electron

[ee-bin] [dev] Run electron command
[ee-bin] [dev] Config: {"directory":"./","cmd":"electron","args":[".","--env=local"],"loadingPage":"/public/html/loading.html","watch":false,"sync":false,"delay":1000}
[ee-bin] [dev] The electron command is running

2026-05-16 11:33:47,227 INFO 2852 [lifecycle] ready
2026-05-16 11:33:47,230 INFO 2852 [lifecycle] electron-app-ready
[lifecycle] register protocol: atom
[lifecycle] atom protocol registered: true
2026-05-16 11:33:47,362 INFO 2852 [lifecycle] window-ready
2026-05-16 11:33:47,362 INFO 2852 [preload] load 1
SELECT * FROM sqlite_master WHERE type='table' AND name = 'XXX'
2026-05-16 11:33:48,447 INFO 2852 [ee-core] Env: local, Type: spa
2026-05-16 11:33:48,447 INFO 2852 [ee-core] App running at: http://localhost:8080
[ee-bin] Received SIGINT. Closing processes...
PS D:\MyProject\VscodeProject\XXX\electron-egg> D:\MyProject\VscodeProject\XXX\electron-egg\node_modules\electron\dist\electron.exe exited with signal SIGINT
[ee-bin] [dev] The electron process is exiting
[ee-bin] [dev] Press "CTRL+C" to exit

终端进程“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe”已终止,退出代码: 2。

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue on Windows PowerShell with `ee-bin dev --serve=electron` and stop the Electron process with Ctrl+C. Start by tracing the ee-bin development process shutdown messages shown in the report; done means Electron exits without terminating PowerShell or returning exit code 2.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, powershell
Domain
cli, desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.