Compare commits
2 commits
main
...
user-enabl
Author | SHA1 | Date | |
---|---|---|---|
|
1c5c8ad313 | ||
|
4dc80a30d7 |
1 changed files with 1 additions and 4 deletions
5
user
5
user
|
@ -1,13 +1,9 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import os
|
||||
import yaml
|
||||
import click
|
||||
import subprocess
|
||||
|
||||
from urllib.request import urlopen
|
||||
|
||||
|
||||
class colors:
|
||||
reset = '\033[0m'
|
||||
bold = '\033[01m'
|
||||
|
@ -208,6 +204,7 @@ def exec_c(container, cmds):
|
|||
exit(1)
|
||||
creation_env = os.environ.copy()
|
||||
creation_env['BLEND_NO_CHECK'] = 'true'
|
||||
cmds = [ cmd.replace('\\-', '-') for cmd in cmds]
|
||||
subprocess.run(['blend', 'enter', '-cn', container, '--', *cmds], env=creation_env)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue