diff options
author | Jose <jose@zeroc.com> | 2009-11-26 23:24:04 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-11-26 23:24:04 +0100 |
commit | cd2034a7bd10e15544479e40afc239b085070f46 (patch) | |
tree | bc5580709b76b15e55482316c2ed5f0df1375a84 /cpp/demo/IceGrid/secure/makecerts.py | |
parent | 4385 - new StreamApi & UserExecption (diff) | |
download | ice-cd2034a7bd10e15544479e40afc239b085070f46.tar.bz2 ice-cd2034a7bd10e15544479e40afc239b085070f46.tar.xz ice-cd2034a7bd10e15544479e40afc239b085070f46.zip |
4279 - alllTest.py fails to run if source path contains white spaces.
Diffstat (limited to 'cpp/demo/IceGrid/secure/makecerts.py')
-rwxr-xr-x | cpp/demo/IceGrid/secure/makecerts.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/demo/IceGrid/secure/makecerts.py b/cpp/demo/IceGrid/secure/makecerts.py index 428934e38f1..d7d969a8f94 100755 --- a/cpp/demo/IceGrid/secure/makecerts.py +++ b/cpp/demo/IceGrid/secure/makecerts.py @@ -14,14 +14,15 @@ iceca = "iceca" def runIceca(args): os.environ['PYTHONUNBUFFERED'] = '1' - if os.system(iceca + " " + args): + command = 'python "%s" %s' % (iceca, args) + if os.system(command): sys.exit(1) def createCertificate(filename, cn): print "======= Creating " + filename + " certificate =======" - runIceca("request --no-password --overwrite %s \"%s\"" % (filename, cn)) + runIceca('request --no-password --overwrite "%s" "%s"' % (filename, cn)) runIceca("sign --in %s_req.pem --out %s_cert.pem" % (filename, filename)) os.remove("%s_req.pem" % filename) |