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.
Here is my code:
$script = "C:\Users\madalina\Desktop\workspace\script.py";
$blander_path = "C:\Program Files\Blender Foundation\Blender";
$output = shell_exec("cd $blander_path && blender -b -P script.py -- $json");
print_r($output);
and here is what I receive:
found bundled python: C:\Program Files\Blender Foundation\Blender\2.69\python Blender quit
And here is what i get when i run the same script directly from my cmd
How can a get the same response when I when the same script from my php project? (I use blender 2.69)