hello one and all, ok, using python 2.7 and web2py 2.18.5 on centos or raspbian linux. is there a way to start a python script file, a file that runs python all on its own from the command line interface, and start or spawn it under a web2py controller function, have web2py immediately, completely, and safely release from the running script, allow the script to continue to run, and then just return whatever html back to the user? so the script will still be running even after the controller does its response and such. and I wouldn't mind during the spawning process would return the pid when its originally spawned so I can kill it later on.
I guessing I would use subprocess.Popen but I can't seem to get web2py to immediately return and I would like verification that doing this won't hurt the multiprocessing or threads, or create some kind of instability in web2py or the server, or any of that kind of mess like that. thank you in advance, Lucas -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/aa673ec2-0edf-4a89-a3cd-92d72b726139%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.