开发者

Problem with OS X automator and python and os.system

开发者 https://www.devze.com 2023-01-11 18:54 出处:网络
If I use import os os.system(\"pdflatex myfile.tex\") from iron python it just works. If I start to Automator and use \"Run shell script\"开发者_运维问答 switch the shell to python the same comman

If I use

import os
os.system("pdflatex myfile.tex")

from iron python it just works. If I start to Automator and use "Run shell script"开发者_运维问答 switch the shell to python the same command is not executed anymore. Any ideas ?

0

精彩评论

暂无评论...
验证码 换一张
取 消