I\'m trying to launch a background process from a CGI scripts. Basically, when a form is submitted the CGI script will indicate to the user that his or her request is being
For thous that have "sh: 1: Syntax error: redirection unexpected" with the at/batch solution try using something like this:
"sh: 1: Syntax error: redirection unexpected"
Make sure that the at command is installed and the user running the application ins't in /etc/at.deny
os.system("echo sudo /srv/scripts/myapp.py | /usr/bin/at now")