I have several standalone experiments that I’ve coded in Builder and I would like to run them as a battery, while still having some flexibility to start individual tasks at a time. I need to have a simple gui that has a button for launching each experiment.
I was wondering what is the most efficient way to accomplish this. One option is to make an experiment in builder, then within a code component, use someting like
subprocess.call(['python', 'task1.py']) to call each .py file, but I’m having trouble getting that to work because it doesn’t try to run within the standalone PsychoPy environment. I would like to rely on the standalone PsychoPy since installing all the dependencies will be complicated for other people working on this project.
Any help would be much appreciated!