Execute python3 script from Action Group

Posted on
Sun Dec 29, 2019 12:17 pm
elov offline
Posts: 20
Joined: Dec 27, 2016

Execute python3 script from Action Group

Hi,

I want to do a simple Action Group that executes an external python3 script.
What is your suggestion on how to proceed before I start troubleshooting away with simpler script then what I'm currently trying to execute.
python3 is globally installed at /usr/local/bin/python3 using the official 3.8 installer.

I've tried shortly using a subprocess.Popen() to run python3 from the embedded python and also creating a shell script with #!/bin/bash or #!/usr/bin/env python3 as a shebang without success.

Regards
Martin

Posted on
Sun Dec 29, 2019 4:58 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Execute python3 script from Action Group

Did you try the Run Shell Script action pointing to the python 3 script with the correct shebang (and the executable bit set)?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 12 guests

cron