title: AccessController Applets Issue
body: <p>I have an applet and start some process on Windows from applet. <em>When I start this process just from another code(test), this code works fine and process runs from rt.exec() to proc.destroy().</em> <strong>When I use html call for applet - process runs only for 5 seconds every time (!!!) and then just alive, but doesn't work, to proc.destroy().</strong> This is really interesting for me (newbie in applets). I think, this issue caused by AccessController. Help me please to solve this (run process normally for longer than 5 seconds) ! Thanks in advance. </p>
  
  <p>P.S. I use Windows, medium Java security lever and applet is self-signed. It asks me to 'allow', applet works.</p>
  
  <p>Here's the code:</p>
  
  <pre><code>    public String startRecording(final String filename) throws IOException {
      try {
          return (String) AccessController
                  .doPrivileged(new PrivilegedAction&lt;String&gt;() {
                      public String run() {
                          try {
                              proc = Runtime
                                      .getRuntime()
                                      .exec(cmd + filename + "." + config.getFormat());
                              //proc.waitFor();
                              return "Ffmpeg process started";
                          } catch (Exception e) {
                              // TODO Auto-generated catch block
                              return e.getMessage();
                          }
                      }
                  });
  
      } catch (Exception e) {
          return e.getMessage();
      }
  }
  </code></pre>
  
  <p>And stop method here</p>
  
  <pre><code>public void stopRecording() {
      proc.destroy();
  }
  </code></pre>
  
  <p><strong>EDIT 1:</strong>
  It's FFMPEG process, which records desktop video and writes it to file, maybe AccessController blocks access to file system.</p>