diff --git a/lcs/ctl/start.py b/lcs/ctl/start.py index 6a402b1..f557355 100644 --- a/lcs/ctl/start.py +++ b/lcs/ctl/start.py @@ -1,5 +1,6 @@ import socket import sys +import os import quixote.server.scgi_server import quixote.server.simple_server @@ -30,6 +31,9 @@ def start(args): elif args[i] == '--http': run_function = quixote.server.simple_server.run del run_kwargs['script_name'] + elif args[i] == '--silent': + sys.stdout = file('/dev/null', 'w') + sys.stderr = file('/dev/null', 'w') i += 1 try: