I am using SimpleHTTPServer in an Editorial workflow. This works well, except the stop button and the spinning button do not kill the workflow.
The background timeout will kill the workflow, but I am unable to do it manually.
Can anyone help?
what about stopping the workflow with a raw input?
exit=raw_input("Do you want to exit?") if exit=="yes": sys.exit()
Thanks for the idea, but it am running the example at the end http://omz-software.com/editorial/docs/library/simplehttpserver.html
There isn't a place to put the raw_input.
I'll keep hunting for ways to stop it (it stops under pythonista, so I'm sure there is a way).
Two approaches to consider: