NYUCCL / psiTurk

An open platform for science on Amazon Mechanical Turk.
https://psiturk.org
MIT License
277 stars 140 forks source link

Confirm exit from command line interface #106

Closed jhamrick closed 10 years ago

jhamrick commented 10 years ago

If you press Ctrl-C while in the command line interface, this will immediately quit the interface (and in doing so also kill the experiment server if it is running). This is bad if you are currently running subjects and hit Ctrl-C by mistake. Rather than quitting immediately, perhaps psiTurk could prompt the user for confirmation as to whether they really want to quit or not?

gureckis commented 10 years ago

Ok, referenced commit disables ctrl-c, but doesn't prompt user. One could add that but I agree making an explicit 'exit' command might be better for something that might involve live internet users doing your task. Closing for now, unless someone wants to make this fancier or believes ctrl-c should operate as an exit.