I want to start a rather time consuming process using a web interface, so I obviously want it to run in a background (daemon) process and I'd also like to have a progress bar using AJAX or sth like that.
My idea was to have a daemon listening for requests on a given port. The browser would then send a request with the task parameters and the daemon would start the process by running a shell command. It would also have to spawn another thread that would monitor the progress and open another socket to relay this information upon request. I need only one process at a time, so no need for more than one worker thread.
The question I have is, what programming language could I use to write this simple program with least effort. I could of course do it in C, like always, but this time I'm willing to learn something new/better.