I am using duplicati (latest stable|beta) with windows 10.
I want to set a
run-script-before-required to use a python script like:
--run-script-before-required="C:\Program Files\Python39\python.exe" C:\Users\thomas\Scripts\myscript.py
"C:\Program Files\Python39\python.exe" C:\Users\thomas\Scripts\myscript.py works fine in some shell (‘Command prompt’ (cmd), cygwin, …),
But duplicati says
Falscher Parameter (engl: ‘wrong parameter’):
I have tried to set the quotes different, but it always fails.
If I put the same statement in a batch-file (
myscript.bat) and use that batch-file for
--run-script-before-required, everything works fine.
Is it a bug or what am I doing wrong?
Thanks in advance