equal
deleted
inserted
replaced
1 import glob, os, re, sys |
1 import glob, os, re, sys |
2 import subprocess |
2 import subprocess |
3 import time |
3 import time |
|
4 xsl_loc='/home/hg/repos/SEES-hacks/SEESenv/scripts/' |
4 names = glob.glob('/home/hg/repos/SEES-hacks/temp/ch*.docbook') |
5 names = glob.glob('/home/hg/repos/SEES-hacks/temp/ch*.docbook') |
5 for name in names: |
6 for name in names: |
6 # command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0]) |
7 # command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0]) |
7 command="xsltproc %shtml-single.xsl %s > %s.html" %(xsl_loc, name ,name.split('.')[0]) |
8 command="xsltproc %shtml-single.xsl %s > %s.html" %(xsl_loc, name ,name.split('.')[0]) |
8 |
9 |
9 print command |
10 print command |
10 subprocess.Popen(command,shell=True) |
11 subprocess.Popen(command,shell=True) |
11 time.sleep(10) |
12 time.sleep(10) |