import os txt = os.system("cd /data/3dmenggongchang/dreamworks/ && ./start.sh") print txt