Skip to content

Commit

Permalink
specify that we want python2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 authored and MorrisJobke committed Jun 26, 2015
1 parent 93a630d commit 8873041
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bin/smash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# -*- python -*-
#
# The _open_SmashBox Project.
Expand Down Expand Up @@ -151,7 +151,7 @@ def main():
def run_multiprocessing_engine(config,t):
global global_exitcode_error
import subprocess, pickle
cmd = ['python',os.path.join(os.path.dirname(os.path.dirname(__file__)),'python/smashbox/multiprocessing_engine.py'), t, pickle.dumps(config)]
cmd = ['python2',os.path.join(os.path.dirname(os.path.dirname(__file__)),'python/smashbox/multiprocessing_engine.py'), t, pickle.dumps(config)]
p = subprocess.Popen(cmd)
p.communicate()

Expand Down
2 changes: 1 addition & 1 deletion corruption_test/run_all
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import os,sys

Expand Down
2 changes: 1 addition & 1 deletion corruption_test/run_nplusone_loop
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import os,sys
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion corruption_test/run_storm_loop
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

import os,sys
import subprocess
Expand Down
2 changes: 1 addition & 1 deletion python/smashbox/multiprocessing_engine.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# -*- python -*-
#
# The _open_SmashBox Project.
Expand Down

0 comments on commit 8873041

Please sign in to comment.