title: Php: Running a python script using blender from a php project using cmd commands
body: <p>I need to run in cmd a python script for blender from blender and print the result from a php project, but I don't get the all result. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>$script = "C:\Users\madalina\Desktop\workspace\script.py";
  $blander_path = "C:\Program Files\Blender Foundation\Blender";
  $output = shell_exec("cd $blander_path &amp;&amp; blender -b -P script.py -- $json");
  print_r($output);
  </code></pre>
  
  <p>and here is what I receive:</p>
  
  <p><strong>found bundled python: C:\Program Files\Blender Foundation\Blender\2.69\python Blender quit</strong></p>
  
  <p>And here is what i get when i run the same script directly from my cmd
  <img src="https://i.stack.imgur.com/ywUOm.png" alt="enter image description here"></p>
  
  <p>How can a get the same response when I when the same script from my php project?
  (I use blender 2.69)</p>