Hi,
I revive this old thing as I have the same problem on windows
I'm not able to use env to dispatch with variables
i tried
with gaffer env (just "env" doesn't work on windows on my side)
:
set assetpath=D:\Desktop\maya_1.usda
set renderpath=D:\Desktop\output.usda
set scriptpath=W:\DOTHEFILM\Templates\Gaffer\sets_gen.gfr
gaffer env assetpath=%assetpath% renderpath=%renderpath% gaffer dispatch -script %scriptpath% -tasks LocalDispatcher1 -dispatcher Local -settings -dispatcher.frameRange '"1-1"' -dispatcher.framesMode 2
Also without substitution:
gaffer env assetpath=D:\Desktop\maya_1.usda renderpath=D:\Desktop\output.usda gaffer dispatch -script W:\...\sets_gen.gfr -tasks LocalDispatcher1 -dispatcher Local -settings -dispatcher.frameRange '"1-1"' -dispatcher.framesMode 2
gaffer env assetpath=D:\Desktop\maya_1.usda renderpath=D:\Desktop\output.usda gaffer dispatch -script W:\...\sets_gen.gfr -tasks LocalDispatcher1 -dispatcher Local -settings -dispatcher.frameRange '"1-1"' -dispatcher.framesMode 2
i have a file not found error
using the same paths with a more simple gaffer execute commands works as expected
any idea what is missing ?
thanks