Has anybody managed to execute a photoshop jsx script while publishing via the tank photoshop publish app?
I have tried executing the following in a hook
try: subprocess.check_call(["C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe", <jsx script>]) except: pass
But it seems to execute after the publish to shotgun has completed. I am executing pass statement in the exception handler since photoshop exits with a non zero exit status(which leads to a CalledProcessError exception) even when there were no errors while executing the jsx script.
Thanks in advance.