bin/cubicweb-ctl
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Wed, 27 Jan 2010 16:08:51 +0100
branchstable
changeset 4416 94a3a2dec8fc
parent 0 b97547f5f1fa
child 12253 9165f4b7426b
permissions -rwxr-xr-x
partial backport of support for adbh's new interface to backup_command and restore_command these methods can return lists or strings which are passed to subprocess.call without or with the shell=True parameter respectively.

#!/usr/bin/env python
from cubicweb.cwctl import run
import sys
run(sys.argv[1:])