import subprocess
subprocess.Popen(['cd/users/Charis Charilaou/desktop/Umbra/Gaming/Minecraft/Minecraft Server/UmbraCraft Test-Server', 'run.bat'] ,shell=True)
答案 0 :(得分:0)
您可以为此使用链接符号&&
,例如:
subprocess.Popen(['cd /users/Charis Charilaou/desktop/Umbra/Gaming/Minecraft/Minecraft Server/UmbraCraft Test-Server && bash run.bat'], shell=True)