Best way to run a shell script, using input value from Django?

2019-01-02 Thread Chris Robinson
Hello, I'm going to attempt to generalize my question to make this easier to answer. Lets say I have a simple terminal based shell script (e.g. multiply_by_two) that takes a number argument, then multiplies that number by 2, and returns the result into a result.txt file. I would enter som

Best way to submit application cmd, then download a resulting file?

2019-01-02 Thread Chris Robinson
Hello, I'm going to attempt to generalize my question to make this easier to answer. Lets say I have a simple terminal based application (e.g. multiply_by_two) that takes a number argument, then multiplies that number by 2, and returns the result into a result.txt file. I would enter somet