title: Linux screen cmd execute not working?
body: <p>I am running this via java.</p>
  
  <pre><code>String cmd = "screen -dmS test -X eval \'stuff \"stop \\015\"\'";    
  
  try {
      Runtime.getRuntime().exec(cmd);
  } catch (IOException e) { e.printStackTrace();  }
  </code></pre>
  
  <p>And it prints as</p>
  
  <pre><code>screen -dmS test -X eval 'stuff "stop\015"'
  </code></pre>
  
  <p>However in the screen i am trying to run it on, i see this:</p>
  
  <pre><code>-X: Missing ' quote.   AND     -X: Missing " quote.  
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/bDgoP.png" alt="enter image description here"></p>
  
  <p>Where is the quote missing? If i run that command through console it works fine.</p>