📅  最后修改于: 2022-03-11 14:45:44.647000             🧑  作者: Mango
from applescript import tell
#set what command you want to run here
yourCommand = 'ls'
tell.app( 'Terminal', 'do script "' + yourCommand + '"')