mirror of https://gitlab.com/ita1024/waf.git
Specify shell usage in test script execution
This commit is contained in:
parent
bdb18e8394
commit
af66a27da3
|
@ -48,7 +48,7 @@ cmd = %(cmd)r
|
|||
# if you want to debug with gdb:
|
||||
#cmd = ['gdb', '-args'] + cmd
|
||||
env = %(env)r
|
||||
status = subprocess.call(cmd, env=env, cwd=%(cwd)r)
|
||||
status = subprocess.call(cmd, env=env, cwd=%(cwd)r, shell=isinstance(cmd, str))
|
||||
sys.exit(status)
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in New Issue