From 03acdf19382f320ec145da09bc78f795554ea14f Mon Sep 17 00:00:00 2001 From: Pelle Nilsson Date: Sat, 29 Jun 2013 22:05:12 +0200 Subject: [PATCH] Print command-line used when building example gamebook. --- buildexamplegamebook.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/buildexamplegamebook.py b/buildexamplegamebook.py index aceb38e..dc067ee 100755 --- a/buildexamplegamebook.py +++ b/buildexamplegamebook.py @@ -18,5 +18,7 @@ if __name__ == '__main__': optionsfile = open(optionsfilename) options += ' ' + ' '.join(optionsfile.readlines()) optionsfile.close() - os.system("python2.7 ./formatgamebook.py %s %s %s" % ( - options, infile, outfile)) + command = "python2.7 ./formatgamebook.py %s %s %s" % ( + options, infile, outfile) + print command + os.system(command)