7
$\begingroup$

I have 8 python scripts and I need to lunch them at once. For one script, I used

blender --background --python script1.py

for the eight scripts, I tried this command but it does not work.

blender --background --python *.py
$\endgroup$

1 Answer 1

5
$\begingroup$

You can have multiple --python tags. For example:

blender --background --python script1.py --python script2.py

This will execute the scripts in the order they are added in the command above. Add as many --python arguments as you need (there is no limit on the number of scripts you can run).

$\endgroup$
3
  • $\begingroup$ I have already tried this but it did not work $\endgroup$ Commented Jun 25, 2015 at 19:22
  • $\begingroup$ Then I think you may need to add more information to your question as this method worked just now when I tried it. Are you getting any errors? $\endgroup$ Commented Jun 25, 2015 at 20:04
  • $\begingroup$ I think the problem is that they run in sequence and not in parallel, but they do all 'run at once' depending on your meaning of the term. They do not run 'simultaneously' $\endgroup$
    – the_5imian
    Commented Jun 2, 2020 at 19:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .