Skip to content

Instantly share code, notes, and snippets.

@adhithyan15
Created March 8, 2016 19:00
Show Gist options
  • Save adhithyan15/1fb3219ad2d8da7c8421 to your computer and use it in GitHub Desktop.
Save adhithyan15/1fb3219ad2d8da7c8421 to your computer and use it in GitHub Desktop.
import subprocess
values = [2,4,6,8]
iteration_count = 5
for x in range(0, len(values)):
print values[x]
p = subprocess.Popen("./testbarrier " + str(values[x])), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment