Skip to content

Commit

Permalink
fix context of bash, add __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stechu committed May 1, 2017
1 parent 4a56811 commit dc044f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Empty file added __init__.py
Empty file.
4 changes: 2 additions & 2 deletions solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def solve(cos_source, cos_folder="."):
ros_file.write(ros_out)
ros_file.seek(0)

cmd_coq = '{}/coq_solve.sh '.format(cos_folder) + coq_file.name
cmd_ros = '{}/rosette_solve.sh '.format(cos_folder) + ros_file.name
cmd_coq = 'cd {}; ./coq_solve.sh '.format(cos_folder) + coq_file.name
cmd_ros = 'cd {}; ./rosette_solve.sh '.format(cos_folder) + ros_file.name
running_procs = [(Popen(cmd_coq, shell=True, stdout=PIPE, stderr=PIPE), 0),
(Popen(cmd_ros, shell=True, stdout=PIPE, stderr=PIPE), 1)]
results = ["", ""]
Expand Down

0 comments on commit dc044f8

Please sign in to comment.