Launch app shell

This commit is contained in:
tituspijean 2023-05-18 19:35:56 +00:00
parent 072dabaf70
commit 2b65913b89
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -1653,9 +1653,7 @@ def app_shell(app):
app -- App ID
"""
#TODO Find out how to open an interactive Bash shell from Python
#TODO run `ynh_load_app_environment --app=$app` helper in there
subprocess.run(['/bin/bash', '-c', 'source /usr/share/yunohost/helpers && ynh_load_app_environment '+app])
def app_register_url(app, domain, path):
"""