Skip to main content
December 16, 2025
Question

Is there any supported way to execute a Python script from a Premiere Pro UXP panel?

  • December 16, 2025
  • 1 reply
  • 346 views

Hello,

I am developing a UXP panel for Adobe Premiere Pro that needs to trigger Python-based processing (e.g., audio/video analysis and other long-running computations).

I understand that UXP does not expose Node.js APIs such as child_process, nor direct access to the OS shell. Based on the current documentation, it appears that executing external processes (such as Python scripts) directly from a UXP panel is not supported.

However, I would like to confirm the following with the community and Adobe team:

1. Is there any supported or recommended mechanism for a UXP panel to execute or invoke Python code locally?

2. If direct execution is not possible, are there any workaround?

My goal is to provide a seamless user experience without requiring users to manually start scripts or services.

Any clarification or official guidance would be greatly appreciated.

Thank you.

1 reply

ThioJoe
Community Expert
Community Expert
December 16, 2025

I'm not super familiar with UXP specifically, but I have some ideas on where you might need to look.

 

At least with extendscript, you can execute batch files like this, where inside it, it contains the call to the actual program and any parameters. I'm not sure if you're able to call extendscript methods from UXP but if so it could be an option:

var batFile = new File("C:\\Whatever\\Path\\WhateverBatch.bat")
batFile.execute()

 

More specific to UXP, I found this documentation which seems to show you can open a file with the default system app associated with it using an "openPath" method. So if you can't get it to execute the python script directly, I'd imagine you could use the batch file trick, where you put any parameters within the batch file.

 

Another trick I've used, is if you need the batch file to call some program dynamically with parameters, is to have the script write paramaters to a text file next to the batch file, then the batch file be set up to read from the text file.

 

The documentation link above also links to another docs page about a UXP "launchProcess" method. That's actually in the photohsop docs, but I'd assume it might be usable in premiere pro if it's linked from the premiere docs.