[Tutor] subprocess.call list vs. str argument
Danny Yoo
dyoo at hashcollision.org
Mon Feb 24 23:01:02 CET 2014
Last comment (apologies for being so fragmented!). I don't know why
the literal strings there are raw there. Altogether, I'd expect:
#############################################
cmd1 = ['sphinx-apidoc',
'-f',
'-F',
'-H', title,
'-A', author,
'-V', version,
'-o', output_dir,
input_dir]
retcode = subprocess.call(cmd1, shell=False)
#############################################
More information about the Tutor
mailing list