Hi Jason,
I think core.quit() does some PsychoPy housework before exiting (e.g. ensuring all data saving is completed, files closed etc). You might want to check that you aren't missing out on any of that (probably less of an issue if you are writing your own experiments rather than using Builder, but still…)
Regards,
Michael
> On 13/01/2016, at 15:22, Jason Steffener <
stef...@gmail.com> wrote:
>
> I figured it out using sys.exit()
>
> # check for quit (the Esc key)
> if endExpNow or event.getKeys(keyList=["escape"]):
> win.close()
> sys.exit()
>
> Thanks for the clues Jeremy.
>
> Jason
--
Michael R. MacAskill, PhD 66 Stewart St
Research Director, Christchurch 8011
New Zealand Brain Research Institute NEW ZEALAND
Senior Research Fellow,
michael....@nzbri.org
Te Whare Wānanga o Otāgo, Otautahi Ph:
+64 3 3786 072
University of Otago, Christchurch
http://www.nzbri.org/macaskill