Skip to content

Commit

Permalink
Use sys.executable instead of hardcoded 'python', Fixes #121
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jan 14, 2020
1 parent 7aadb64 commit 9dd9f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataflows/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def init(arg):

try:
print('Running {}'.format(filename))
ret = subprocess.check_output('python '+filename,
ret = subprocess.check_output(sys.executable + ' ' + filename,
stderr=subprocess.PIPE, universal_newlines=True, shell=True)
print(ret)
print('Done!')
Expand Down

0 comments on commit 9dd9f9b

Please sign in to comment.