flask에서 shell 명령어 실행

힘들다의 이미지

flask에서 shell명령어 실행이 가능한가요???

예를들면

import os
import sys

....

@app.route('/')
def index():
os.system('ls')