Almenon / Almenon/AREPL-electron

AREPL does not restart python if user closes it

Offen
#73 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
74
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Replication steps:

1. import turtle;turtle.forward(100)
2. exit out of turtle
3. Error logged to dev console: Uncaught Error: process exited with code 3489660927 in python-shell line 89
4. If user types in anything at this point it results in Uncaught Error: this socket has been ended by the other party at PythonShell.send
5. User tries to restart with F1
6. "pyshell refused to die" is logged, followed by "the python process simply cannot be killed!" (the code misinterprets what is happening here - it doesn't realize process is already dead)
7. Because the process has already exited the exit event is never called so the listener for exit does not restart the process

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.