我正在执行下面的命令,这将导致下面的错误。我有chmod 777到所有涉及的目录。css和图像文件已成功写入,但未生成html文件。我在干嘛呢?
perl genhtml -o coverage jsTestDriver.conf-coverage.dat
Reading data file jsTestDriver.conf-coverage.dat
Found 4 entries.
No common filename prefix found!
Writing .css and .png files.
Generating output.
mkdir: cannot create di
下面是我的子进程调用:
def myrun(cmd):
p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
stdout = []
while True:
line = p.stdout.readline()
stdout.append(line)
print line,
if line == '' and p.poll() != None:
break
return ''.j