我正在尝试使用 supercollider 在 python 中为 FoxDot 模块编写一个自动启动系统。
我现在的主要问题是当我运行以下代码时:
if(running == False):
startup = thisdir+"/FoxDot/startup.scd" #the location where my startup file is
subprocess.Popen([sclangloc], 0, startup, cwd=ourcwd, shell=True, ) #boot program with file containing arguments (FoxDot.start)
但是,当我实际运行它时,程序正在启动,但从未真正尝试运行我文件中的参数。
如何使 supercollider(特别是 sclang(FoxDot 用于运行的服务器))与所述参数一起运行?
谢谢