projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02b8f11
)
Looks like we need shell=True on Windows to do things like run\tests
author
Carl Hetherington
<cth@carlh.net>
Fri, 20 Nov 2020 11:58:17 +0000
(12:58 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 20 Nov 2020 11:58:17 +0000
(12:58 +0100)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index c9f15a0c79637afe9942ab79ad40a8d3009b2f82..516dcadaf34fe742fbc1291c4c76ce43b27884bb 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-257,7
+257,7
@@
def rmtree(a):
def command(c):
log_normal(c)
try:
- r = subprocess.run(shlex.split(c))
+ r = subprocess.run(shlex.split(c)
, shell=True
)
if r.returncode != 0:
raise Error(f'command {c} failed ({r.returncode})')
except Exception as e: