From 37e68263714c8ccdc14ad736550c8bf611d782b3 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Wed, 2 May 2012 16:00:20 -0500 Subject: [PATCH] fixed newcron path escaping, issue 772, thanks shikasta.net --- VERSION | 2 +- gluon/newcron.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 77c28d11..1c80c3e0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-05-02 15:57:52) dev +Version 1.99.7 (2012-05-02 16:00:15) dev diff --git a/gluon/newcron.py b/gluon/newcron.py index b871da5a..85392427 100644 --- a/gluon/newcron.py +++ b/gluon/newcron.py @@ -219,8 +219,6 @@ class cronlauncher(threading.Thread): threading.Thread.__init__(self) if platform.system() == 'Windows': shell = False - elif isinstance(cmd,list): - cmd = ' '.join(cmd) self.cmd = cmd self.shell = shell