allow arguments for commands running in containers
This commit is contained in:
parent
5115de41c1
commit
4dc80a30d7
1 changed files with 1 additions and 0 deletions
1
user
1
user
|
@ -208,6 +208,7 @@ def exec_c(container, cmds):
|
||||||
exit(1)
|
exit(1)
|
||||||
creation_env = os.environ.copy()
|
creation_env = os.environ.copy()
|
||||||
creation_env['BLEND_NO_CHECK'] = 'true'
|
creation_env['BLEND_NO_CHECK'] = 'true'
|
||||||
|
cmds = [ cmd.replace('\\-', '-') for cmd in cmds]
|
||||||
subprocess.run(['blend', 'enter', '-cn', container, '--', *cmds], env=creation_env)
|
subprocess.run(['blend', 'enter', '-cn', container, '--', *cmds], env=creation_env)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue