Skip to content

Commit

Permalink
miracle2k#10 - allow globs and other shell expansions in source paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Turner committed May 9, 2014
1 parent 078711a commit edaf78a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tarsnapper/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def call(self, *arguments):

def _exec_tarsnap(self, args):
self.log.debug("Executing: %s" % " ".join(args))
p = subprocess.Popen(args, stdout=subprocess.PIPE,
p = subprocess.Popen(" ".join(args), shell=True, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
(stdout, stderr) = p.communicate()
if p.returncode != 0:
Expand Down

0 comments on commit edaf78a

Please sign in to comment.