Open a text script in blender and execute it in OS


I have tried to write a

import bpy'./', filter_blender=False, filter_image=False, filter_movie=False, filter_python=True, filter_font=False, filter_sound=False, filter_text=True, filter_btx=False, filter_collada=False, filter_folder=True, filemode=9, internal=False)



and now I want to execute this script through terminal using this script

import os

path = os.getcwd()
os.system("cd path/")
os.system("./blender -P path/")

but I get this

Warning - no scene - scene properties not set
Segmentation fault: 11

I get the same message if I try to do it using the terminal in the first placeā€¦

Anyone having the same problem? Anyone solved it?

Generally - if you manage to get blender to segfault - its a bug. (unless you purposefully do unsupported stuff)
Please report a bug in our tracker.

For general info on crashing see: