title: How to change my Fortran code to run it as a background process?
body: <p>I have written a Fortran program on Windows and now I want to make it run as a background process. My code is something like this:</p>
  
  <pre><code>PROGRAM test
  implicit none
  integer a
  a = calculator()
  print *, a !now I print the result on the screen and I can also write it to a file.
  END PROGRAM
  </code></pre>
  
  <p>It takes about 10 minutes to get the result and I will call it many times in an other program.</p>
  
  <p>I know in C++ we can simply change <code>/console</code> to <code>/window</code> to hide the command window but it seems that does not work in Fortran.</p>
  
  <p>The command window really bothered me, is there an easy way to make the black window disappear?</p>