Skip to content

Commit

Permalink
Use shell invocation for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
corpix committed Sep 16, 2014
1 parent 858a809 commit 7306a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whenchanged/whenchanged.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def run_command(self, thefile):
if item == "%f":
item = thefile
new_command.append(item)
subprocess.call(new_command)
subprocess.call(new_command, shell=True)

def is_interested(self, path):
basename = os.path.basename(path)
Expand Down

0 comments on commit 7306a20

Please sign in to comment.