p5 icon indicating copy to clipboard operation
p5 copied to clipboard

p5 programs don't close nicely using an IDE

Open vrruiz opened this issue 4 years ago • 2 comments

Describe the bug Clicking on the close button of a p5 script using an Python IDE, doesn't exit the program nicely.

To Reproduce

  1. Open IDLE.
  2. Create a very basic p5 script, e.g. screen(100,100).
  3. Run.
  4. Click on close.

Expected behavior IDLE should detect that the program has finished correctly. However, it tells that it was killed and ask for user input: "Your program is still running! Do you want to kill it?".

System information:

  • p5 release (version number or latest commit): 0.7.1
  • Python version: 3.7.3
  • Operating system: Raspberry Pi OS

Additional context Using the Thonny IDE shows a similar behaviour, the IDE doesn't detect that the program has finished correctly and the task must be killed manually. Running the scripts on the command line doesn't display any error, though.

vrruiz avatar Jan 04 '21 15:01 vrruiz

Thank you for submitting your first issue to p5py

github-actions[bot] avatar Jan 04 '21 15:01 github-actions[bot]

I think this is fixed in the newer version. Can you check ?

tushar5526 avatar Feb 07 '23 19:02 tushar5526