You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 20, 2022. It is now read-only.
Ctrl-C doesn't terminate gemini-gui server when running through npm run #81
Thanks for filing this ticket. I'm seeing this same issue:
$ gemini-gui .# The user must now run tests in the GUI or the bug won't surface.# ...test output...# ...test output...# ...test output...
^CCancelling...
At this point, the command hangs forever or until ctrl-c is pressed again. However, when executed through NPM, the issue is even more confusing and problematic:
$ npm run -s test:gemini-gui
# The user must now run tests in the GUI or the bug won't surface.# ...test output...# ...test output...# ...test output...
^CCancelling...
Unlike when executed directly, the NPM command appears to terminate after "Cancelling..." but Gemini GUI is actually still running in the background because it ignores the initial SIGINT. This causes the port to stay open. The issue appears to be in Gemini itself, not the GUI.
Activity
niedzielski commentedon May 30, 2017
Thanks for filing this ticket. I'm seeing this same issue:
At this point, the command hangs forever or until ctrl-c is pressed again. However, when executed through NPM, the issue is even more confusing and problematic:
Unlike when executed directly, the NPM command appears to terminate after "Cancelling..." but Gemini GUI is actually still running in the background because it ignores the initial SIGINT. This causes the port to stay open. The issue appears to be in Gemini itself, not the GUI.