title: Starting new subproces from a Flask request
body: <p>I have a request coming through a function that has been decorated with <code>@app.route('/url/path/to/view')</code>.</p>
  
  <p>It does a couple of things to find some data and do some calculations, and during this the function runs normally. However, at the end I want to start a new process (from a python function, currently using <code>multiprocessing.Process</code>). Once this process is started, I want the function to return, while the new process keeps running independently.</p>
  
  <p>Pseudo-code for my current approach</p>
  
  <pre><code>def start_process(arguments):
      # some code here that the process will run
  
  p = multiprocessing.Process(target=start_process, args=(...))
  p.start()
  
  return app.response("{ 'status': 'ok' }", mimetype='application/json')
  </code></pre>
  
  <p>Will this approach work and can the Flask application continue running without affecting the new process?</p>