When I use Gnome Builder to run my app, it can spawn a Python process from GJS using Gio.SubprocessLauncher, either directly, or by executing a script with Python shebang. However this does not seem to work with a normal Flatpak install, where it seems Python cannot be found in path.
Isn’t Python 3 included in the GNOME runtime? What should I do to fix this?
Ah, thanks. python3 works. I guess I’d assumed that python would be linked to python3 since python2 isn’t available. I wonder why python works in Gnome Builder, though.