mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Launch app shell
This commit is contained in:
parent
072dabaf70
commit
2b65913b89
1 changed files with 1 additions and 3 deletions
|
@ -1653,9 +1653,7 @@ def app_shell(app):
|
||||||
app -- App ID
|
app -- App ID
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
subprocess.run(['/bin/bash', '-c', 'source /usr/share/yunohost/helpers && ynh_load_app_environment '+app])
|
||||||
#TODO Find out how to open an interactive Bash shell from Python
|
|
||||||
#TODO run `ynh_load_app_environment --app=$app` helper in there
|
|
||||||
|
|
||||||
def app_register_url(app, domain, path):
|
def app_register_url(app, domain, path):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Reference in a new issue