allow arguments for commands running in containers
This commit is contained in:
parent
c8dafc0826
commit
463cdf64fc
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